Name | Type | Description |
---|---|---|
meta.status | Integer | |
data | Array | |
data[].id | String | |
data[].account_id | String | |
data[].name | String | |
data[].tracking_key | String | |
data[].url | ||
data[].status | String | |
data[].environment | String | |
data[].timezone | String | |
data[].created_at | String (Time ISO8601) | |
data[].hosts | Array | |
data[].links | Array | |
data[].links[].name | String | |
data[].links[].rel | String | |
data[].links[].href | String | |
data[].links[].templated | Boolean | |
pagination.limit | Integer | |
pagination.offset | Integer | |
pagination.total | Integer | |
links | Array | |
links[].name | String | |
links[].rel | String | |
links[].href | String | |
links[].templated | Boolean |
The products endpoint returns a collection of all products you have access to. If you are a member of multiple Accounts, then you will see all products across those accounts.
2015-05-14 18:20:55 UTC
GET /core/products
authorization: FILTERED user-agent: curl/7.37.1
transfer-encoding: chunked connection: close content-length: 2207 x-runtime: 0.060821 x-request-id: 40af8b96-c761-4510-9552-31cd9d3fa806 vary: Accept-Encoding status: 200 OK server: nginx/1.6.2 link: <https://api.kissmetrics.com/core/products?limit=20&offset=0>; rel="self"; templated="false",<https://api.kissmetrics.com/core/products/{product_id}/reports>; rel="reports"; templated="true",<https://api.kissmetrics.com/core/products/{product_id}/metrics>; rel="metrics"; templated="true",<https://api.kissmetrics.com/core/products/{product_id}/events>; rel="events"; templated="true",<https://api.kissmetrics.com/core/products/{product_id}/properties>; rel="properties"; templated="true",<https://api.kissmetrics.com/core/products?limit=20&offset=0>; rel="first"; templated="false",<https://api.kissmetrics.com/core/products?limit=20&offset=0>; rel="last"; templated="false" etag: "9613e355e092c428291aa233adf7f7fd" date: Thu, 14 May 2015 18:20:56 GMT content-type: application/json; charset=utf-8 cache-control: max-age=0, private, must-revalidate
Shortened for readability
{ "meta": { "status": 200 }, "data": [ { "id": "44e90cb0-7e6d-0132-70b8-22000a9a8afc", "account_id": "44424650-7e6d-0132-7ec1-22000ab4dcd7", "name": "My First Product", "tracking_key": "38146efb334e929ea789fb6a0542f0cc676f9f93", "url": null, "status": "canceled", "environment": "", "timezone": "UTC", "created_at": "2015-01-14T22:47:40+00:00", "hosts": [ ], "links": [ { "name": "Self", "rel": "self", "href": "https://api.kissmetrics.com/core/products/44e90cb0-7e6d-0132-70b8-22000a9a8afc", "templated": false }, { "name": "Account", "rel": "account", "href": "https://api.kissmetrics.com/core/accounts/44424650-7e6d-0132-7ec1-22000ab4dcd7", "templated": false } ] } ], "pagination": { "limit": 20, "offset": 0, "total": 1 }, "links": [ { "name": "Self", "rel": "self", "href": "https://api.kissmetrics.com/core/products?limit=20&offset=0", "templated": false }, { "name": "Product Reports", "rel": "reports", "href": "https://api.kissmetrics.com/core/products/{product_id}/reports", "templated": true } ] }