Message
List messages for the team
Returns a paginated list of messages with filtering and sorting capabilities.
query Parameters
sortfilter[search]Search in sender, recipients, and subject
filter[from_email]Search by sender email (partial match)
filter[subject]Search by subject (partial match)
page[size]Number of results per page
page[cursor]Cursor for the next or previous page
filter[project]Filter by project ID
filter[type]filter[status]filter[route_id]Filter by route ID
filter[domain_id]Filter by domain ID
filter[tag]Filter by tag name
filter[from_date]Filter messages created after this date
filter[to_date]Filter messages created before this date
Headers
AuthorizationBearer token. Format: Bearer {team_token}
List messages for the team › Responses
Paginated set of MessageListData
pathBase path for paginator generated URLs.
per_pageNumber of items shown per page.
next_cursorThe "cursor" that points to the next set of items.
next_page_urlprev_cursorThe "cursor" that points to the previous set of items.
prev_page_urlGet message details
Returns detailed information about a specific message including optional nested resources.
path Parameters
messageIdHeaders
AuthorizationBearer token. Format: Bearer {team_token}
Get message details › Responses
MessageData
idtypestatusstatus_changed_attagfrom_emailfrom_namereply_tosubjectroute_idcreated_atspam_scoreOverall spam assessment score. Scores below 5 are clean, 5 through 10 indicate potential spam, scores above 10 and below 15 are likely spam, and 15 or higher is definite spam. Null means no assessment is available. Available on plans with Spam Insights
Detailed rules that contributed to the spam assessment. Available on plans with Spam Insights in individual-message responses
Get message events
Returns a paginated list of events for a specific message with sorting capabilities.
path Parameters
messageIdquery Parameters
page[size]The number of results that will be returned per page.
page[cursor]The cursor to start the pagination from.
include_machine_eventsInclude machine/privacy/security opened and clicked events
sortHeaders
AuthorizationBearer token. Format: Bearer {team_token}
Get message events › Responses
Paginated set of MessageEventData
pathBase path for paginator generated URLs.
per_pageNumber of items shown per page.
next_cursorThe "cursor" that points to the next set of items.
next_page_urlprev_cursorThe "cursor" that points to the previous set of items.
prev_page_url