Get Event

GET {{baseUrl}}/api/events/:id/

Get an event with the given event ID.

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/v2024-07-15/reference/api-overview#sparse-fieldsets
fields[metric]stringFor more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets
fields[profile]stringFor more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#sparse-fieldsets
includestringFor more information please visit https://developers.klaviyo.com/en/v2024-07-15/reference/api-overview#relationships

HEADERS

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

RESPONSES

status: OK

{"data":{"type":"event","id":"\u003cstring\u003e","attributes":{"timestamp":"\u003cinteger\u003e","event_properties":{},"datetime":"\u003cdateTime\u003e","uuid":"\u003cstring\u003e"},"links":{"self":"\u003curi\u003e"},"relationships":{"profile":{"data":{"type":"profile","id":"\u003cstring\u003e"},"links":{"self":"\u003curi\u003e","related":"\u003curi\u003e"}},"metric":{"data":{"type":"metric","id":"\u003cstring\u003e"},"links":{"self":"\u003curi\u003e","related":"\u003curi\u003e"}},"attributions":{"data":[{"type":"attribution","id":"\u003cstring\u003e"},{"type":"attribution","id":"\u003cstring\u003e"}],"links":{"self":"\u003curi\u003e","related":"\u003curi\u003e"}}}},"included":[{"type":"attribution","id":"\u003cstring\u003e","links":{"self":"\u003curi\u003e"},"relationships":{"event":{"data":{"type":"event","id":"\u003cstring\u003e"}},"attributed-event":{"data":{"type":"event","id":"\u003cstring\u003e"}},"campaign":{"data":{"type":"campaign","id":"\u003cstring\u003e"}},"campaign-message":{"data":{"type":"campaign-message","id":"\u003cstring\u003e"}},"flow":{"data":{"type":"flow","id":"\u003cstring\u003e"}},"flow-message":{"data":{"type":"flow-message","id":"\u003cstring\u003e"}},"flow-message-variation":{"data":{"type":"flow-message","id":"\u003cstring\u003e"}}}},{"type":"attribution","id":"\u003cstring\u003e","links":{"self":"\u003curi\u003e"},"relationships":{"event":{"data":{"type":"event","id":"\u003cstring\u003e"}},"attributed-event":{"data":{"type":"event","id":"\u003cstring\u003e"}},"campaign":{"data":{"type":"campaign","id":"\u003cstring\u003e"}},"campaign-message":{"data":{"type":"campaign-message","id":"\u003cstring\u003e"}},"flow":{"data":{"type":"flow","id":"\u003cstring\u003e"}},"flow-message":{"data":{"type":"flow-message","id":"\u003cstring\u003e"}},"flow-message-variation":{"data":{"type":"flow-message","id":"\u003cstring\u003e"}}}}]}