Get Event
GET {{baseUrl}}/api/events/:id/
Get an event with the given event ID.
Request specific fields using sparse fieldsets.
Include parameters can be provided to get the following related resource data: metrics
, profiles
Rate limits:
Burst: 10/s
Steady: 150/m
Scopes:
Events Read
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
fields[event] | string | For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#sparse-fieldsets | |
fields[metric] | string | For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#sparse-fieldsets | |
fields[profile] | string | For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#sparse-fieldsets | |
include | string | For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#relationships | |
include | string | For more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#relationships |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
revision | string | (Required) API endpoint revision (format: YYYY-MM-DD[.suffix]) | |
Accept | string |
RESPONSES
status: OK
{"data":{"type":"event","id":"ad proident consequat","attributes":{"metric_id":"fugiat laborum eu","profile_id":"quis laborum aute commodo pariatur","timestamp":"voluptate culpa","event_properties":{},"datetime":"Excepteur anim dolore sed laborum","uuid":"amet commodo"},"links":{"self":"http://HhsGTUdIwIiKQDut.wgyHv5M8ppKfCm+qK34h27jckUZzNSFV7Pkv6IbUmYkJMDueRBiMJu"},"relationships":{"metrics":{"data":[{"type":"metric","id":"anim dolore velit cupidatat"},{"type":"metric","id":"tempor mollit exerci"}]},"profiles":{"data":[{"type":"profile","id":"culpa dolore"},{"type":"profile","id":"commodo consectetur in dolor nulla"}]}},"included":[{"type":"metric","id":"","attributes":{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"created":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"updated":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"integration":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"links":{"self":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},{"type":"metric","id":"proident enim","attributes":{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"created":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"updated":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"integration":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"links":{"self":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}]}}