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

KeyDatatypeRequiredDescription
fields[event]stringFor more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#sparse-fieldsets
fields[metric]stringFor more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#sparse-fieldsets
fields[profile]stringFor more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#sparse-fieldsets
includestringFor more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#relationships
includestringFor more information please visit https://developers.klaviyo.com/en/v2022-10-17/reference/api-overview#relationships

HEADERS

KeyDatatypeRequiredDescription
revisionstring(Required) API endpoint revision (format: YYYY-MM-DD[.suffix])
Acceptstring

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"}}}]}}