Skip to documentation
Dashboard
Emails

Retrieve email events

Retrieve the ordered delivery timeline for a transactional message.

GET/api/v1/emails/{messageId}/events
On this page

Authentication

Send a RouteKite API key as a Bearer token. This endpoint requires the email:read or email:send scope.

Required headers
NameTypeRequirementDescription
AuthorizationstringRequiredBearer API key with the required workspace scope.Example: Bearer rk_your_key

Path parameters

Path parameters
NameTypeRequirementDescription
messageIduuidRequiredThe message whose timeline should be loaded.Example: 7dd5da7f-40b0-4c29-bb78-7e0d95ef9eb7

Response

Response fields
NameTypeRequirementDescription
objectstringAlwaysAlways list.
dataevent[]AlwaysOrdered events matching the message.
iduuidAlwaysThe immutable event identifier.
event_typestringAlwaysThe recorded delivery event.
stateenum | nullAlwaysThe normalized message state associated with the event.
occurred_atdate-timeAlwaysWhen the event occurred.
has_morebooleanAlwaysWhether another bounded request may be needed.

Behavior

Events are returned oldest first and contain RouteKite-normalized state without exposing internal delivery payloads.

Errors

StatusCodeWhat it meansWhat to do
401UNAUTHORIZEDThe key is invalid.Check the Bearer header.
403FORBIDDENThe key cannot read events.Use email:read or email:send.
404NOT_FOUNDThe message is unavailable in this workspace.Check the ID and workspace.
429RATE_LIMITEDToo many reads were requested.Honor Retry-After before retrying.
500INTERNAL_ERROREvents could not be loaded.Retry after a short delay.