SpyREST

Supported by Mashape

Home » api.kissmetrics.com Versions » Default Resources » Event » GET /core/events

GET /core/events

Description

Query Parameters

Name Type Example Values Description
offset Integer 0
limit Integer 20

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 events endpoint returns...

The events endpoint returns a list of events from your event libraries. This includes all Events across all Products.

Recorded at

2015-05-14 18:21:07 UTC

Try with cURL

Request URL

Requires Authorization
GET /core/events?limit=20&offset=0      

Query Parameters

offset: 0
limit: 20
      

Request Headers

authorization: FILTERED
user-agent: curl/7.37.1
      

Response Headers

transfer-encoding: chunked
connection: close
content-length: 571
x-runtime: 0.078860
x-request-id: 4dfcd00a-5110-4c1a-bfdc-1b92ccc6cb70
vary: Accept-Encoding
status: 200 OK
server: nginx/1.6.2
link: <https://api.kissmetrics.com/core/events?limit=20&offset=0>; rel="self"; templated="false",<https://api.kissmetrics.com/core/events/{event_id}>; rel="event-detail"; templated="true",<https://api.kissmetrics.com/core/events?limit=20&offset=0>; rel="first"; templated="false",<https://api.kissmetrics.com/core/events?limit=20&offset=0>; rel="last"; templated="false"
etag: "903d1c6d21957f0303f1a234c476e03f"
date: Thu, 14 May 2015 18:21:07 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": 0
  },
  "links": [
    {
      "name": "Self",
      "rel": "self",
      "href": "https://api.kissmetrics.com/core/events?limit=20&offset=0",
      "templated": false
    },
    {
      "name": "Event Detail",
      "rel": "event-detail",
      "href": "https://api.kissmetrics.com/core/events/{event_id}",
      "templated": true
    }
  ]
}