Get Email Log

Beta
GET/v1/core/email-logs/{id}

This endpoint is idempotent. Learn more

Returns an email log by ID.

idstring

Email log ID.

include[]optional arrayenumValues:sent_by

Sub-objects to expand in the response. When omitted, sub-objects are returned as null.

idstring

Email log ID.

objectstringenumValues:email_log

Resource type identifier.

has_sentboolean

Whether the email was sent.

recipientsarray of string

Recipient email addresses.

subjectstringnullable

Email subject line.

filenamestringnullable

Filename of any attachment.

ses_message_idstringnullable

SES message ID returned by AWS.

sent_byobjectExpandablenullable

Actor who sent the email. Null when the email was sent by the system, or when the caller did not request include=sent_by.

idstring

Actor ID.

objectstringenumValues:actor

Resource type identifier.

typestringenumValues:userapi_keyagent

Actor type.

namestringnullable

Display name.

handlestringnullable

Human-readable handle (email for users, redacted value for API keys, slug for agents).

roleobjectnullable

Assigned role.

Always returned as null in this endpoint.
created_atstring (date-time)

Creation timestamp.

updated_atstring (date-time)

Last updated timestamp.

Responses

200

Successful response for Get Email Log