Skip to navigation

Retrieve an event

Returns an event of the last 30 days with the members its deliveries carry. An event of another account holder or platform is not found.

Authentication

AuthorizationBearer

Access token from POST /access-token. Valid for at most 30 minutes.

Path parameters

eventIdstringRequiredformat: "uuid"
The event ID.

Headers

Account-HolderstringOptionalformat: "^[A-Za-z0-9_-]+$"1-128 characters

The account holder a platform API key acts on. Platform keys must send it on account holder operations. A company API key acts on its own account holder; it may omit the header or send its own account holder ID.

X-Request-IdstringOptionalformat: "^[A-Za-z0-9._:-]+$"1-128 characters

Your own correlation ID for this request. It is recorded with the request. The X-Request-Id response header is always generated by the server.

Response headers

X-Request-Idstringformat: "uuid"
Unique ID of this request. Quote it when you contact support.
RateLimitstringOptional

Remaining budget for each rate limit policy, for example "burst"; r=57; t=6 (requests remaining and seconds until the window resets).

RateLimit-PolicystringOptional

The rate limit policies applied to this request, for example "burst"; q=60; w=10 (requests allowed per window of seconds).

Response

The event.
idstringformat: "uuid"
Event identifier, identical on every delivery attempt and replay.
object"event"

Always event.

typestringformat: "^[a-z][A-Za-z]*(\.[a-z][A-Za-z]*){1,2}$"<=64 characters

<object>.<pastTenseVerb> or <object>.<child>.<pastTenseVerb>.

apiVersion"2.0"

Always 2.0.

createdAtdatetime

When the change committed; not an ordering token.

livemodeboolean

true on a live platform in production, false on a Sandbox platform and outside production.

relatedObjectobject
accountHolderIdstringOptionalformat: "^[A-Za-z0-9_-]+$"1-128 characters

A resource ID. Treat it as an opaque, case-sensitive string.

cardProgramIdstringOptionalformat: "^[A-Za-z0-9_-]+$"1-128 characters

A resource ID. Treat it as an opaque, case-sensitive string.

transitionobjectOptional

A committed state change of an allowlisted field; not an ordered delta or a history.

requestIdstringOptionalformat: "^[A-Za-z0-9._:-]+$"<=128 characters
The v2 request that caused the change, when one did.
dataobjectOptional
The resource the event names, as committed by its change. Absent only on events recorded before resources were added to events.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error