SpyREST

Supported by Mashape

Home » api.kissmetrics.com Versions » Default Resources » Account » GET /core/accounts

GET /core/accounts

Description

Response Fields

Name Type Description
meta.status Integer
data Array
pagination.limit Integer
pagination.offset Integer
pagination.total Integer
links Array
links[].name String
links[].rel String
links[].href String
links[].templated Boolean
Write
Preview

Examples

The accounts endpoint retur...

The accounts endpoint returns a list of accounts you are authorized to access.

Recorded at

2015-05-14 18:20:35 UTC

Try with cURL

Request URL

Requires Authorization
GET /core/accounts      

Request Headers

authorization: FILTERED
user-agent: curl/7.37.1
      

Response Headers

transfer-encoding: chunked
connection: close
content-length: 455
x-runtime: 0.098519
x-request-id: efc8b2ca-7aeb-40aa-8b00-f422d9ed6d0d
vary: Accept-Encoding
status: 200 OK
server: nginx/1.6.2
link: <https://api.kissmetrics.com/core/accounts?limit=20&offset=0>; rel="self"; templated="false",<https://api.kissmetrics.com/core/accounts?limit=20&offset=0>; rel="first"; templated="false",<https://api.kissmetrics.com/core/accounts?limit=20&offset=0>; rel="last"; templated="false"
etag: "7b8279492e70eb3dc1bf419ba0eb0ca1"
date: Thu, 14 May 2015 18:20:36 GMT
content-type: application/json; charset=utf-8
cache-control: max-age=0, private, must-revalidate
      

Response Body

Shortened for readability

{
  "meta": {
    "status": 200
  },
  "data": [

  ],
  "pagination": {
    "limit": 20,
    "offset": 0,
    "total": 1
  },
  "links": [
    {
      "name": "Self",
      "rel": "self",
      "href": "https://api.kissmetrics.com/core/accounts?limit=20&offset=0",
      "templated": false
    },
    {
      "name": "First",
      "rel": "first",
      "href": "https://api.kissmetrics.com/core/accounts?limit=20&offset=0",
      "templated": false
    }
  ]
}