Get thread messages

View as Markdown

List messages within an email thread. Supports cursor pagination via last_key: make the first request without it, then if the response last_key is non-null, URL-encode the JSON cursor and pass it as ?last_key= on the next request. Repeat until last_key is null.

Authentication

X-API-KEYstring
API Key authentication via header

Path parameters

account_idstringRequired
seat_idstringRequired
thread_idstringRequired

Query parameters

limitintegerOptional<=500Defaults to 500
Maximum number of messages to return. Values above 500 are clamped to 500. Defaults to 500 when omitted.
last_keystringOptional

Pagination cursor. Take the last_key object from the previous response, JSON-stringify it, then URL-encode it (e.g. encodeURIComponent(JSON.stringify(last_key))) and pass it here. Omit on the first request. When the response last_key is null, you have reached the end.

Response

Successful response