Email Threads

Get an account-wide thread and a page of its messages

Changed on

Returns a thread and a bounded page of its inbound and outbound messages, interleaved in chronological order. The inbox_id returned by the list endpoint is required because a thread ID can occur in multiple inboxes. Only messages matching that (inbox_id, thread_id) pair are returned. Threads outside the account return an opaque 404.

get/email_threads/{thread_id}

Request

  • Base URL
    https://api.telnyx.com/v2
  • URL
    https://api.telnyx.com/v2/email_threads/{thread_id}
  • Auth
    HTTP bearer

Path parameters

thread_idstring uuid required

Email thread UUID.

Query parameters

inbox_idstring uuid required

Inbox UUID that, together with thread_id, identifies the thread.

page[size]integer

Number of thread messages to return. Defaults to 25; maximum is 100.

page[after]string

Opaque message cursor returned by the previous thread-detail page.

Response

Thread summary and chronological messages.

Changes