Name | Type | Description |
---|---|---|
meta.status | Integer | |
data.id | String | |
data.name | String | |
data.status | String | |
data.created_at | String (Time ISO8601) | |
data.updated_at | String (Time ISO8601) | |
data.contact.name | ||
data.contact.country | ||
data.contact.phone | ||
data.links | Array | |
data.links[].name | String | |
data.links[].rel | String | |
data.links[].href | String | |
data.links[].templated | Boolean | |
links | Array | |
links[].name | String | |
links[].rel | String | |
links[].href | String | |
links[].templated | Boolean |
The account endpoint returns the body of the account you are authorized to access.
2015-05-14 18:20:37 UTC
GET /core/accounts/44424650-7e6d-0132-7ec1-22000ab4dcd7
authorization: FILTERED user-agent: curl/7.37.1
transfer-encoding: chunked connection: close content-length: 677 x-runtime: 0.051493 x-request-id: 6e4a733a-cb5f-4ac3-ac20-da24b0fd74e6 vary: Accept-Encoding status: 200 OK server: nginx/1.6.2 link: <https://api.kissmetrics.com/core/accounts/44424650-7e6d-0132-7ec1-22000ab4dcd7>; rel="self"; templated="false" etag: "f890d291dfa8b0d008d72df6b7d6ed68" date: Thu, 14 May 2015 18:20:37 GMT content-type: application/json; charset=utf-8 cache-control: max-age=0, private, must-revalidate
Shortened for readability
{ "meta": { "status": 200 }, "data": { "id": "44424650-7e6d-0132-7ec1-22000ab4dcd7", "name": "Sohan", "status": "canceled", "created_at": "2015-01-14T22:47:39Z", "updated_at": "2015-03-30T13:46:44Z", "contact": { "name": null, "country": null, "phone": null }, "links": [ { "name": "Self", "rel": "self", "href": "https://api.kissmetrics.com/core/accounts/44424650-7e6d-0132-7ec1-22000ab4dcd7", "templated": false }, { "name": "Products", "rel": "products", "href": "https://api.kissmetrics.com/core/accounts/44424650-7e6d-0132-7ec1-22000ab4dcd7/products", "templated": false } ] }, "links": [ { "name": "Self", "rel": "self", "href": "https://api.kissmetrics.com/core/accounts/44424650-7e6d-0132-7ec1-22000ab4dcd7", "templated": false } ] }