Email Inboxes

Get a thread and a page of its messages

Returns a bounded page of inbound and outbound thread messages interleaved in chronological order using stable cursor pagination.

get/email_inboxes/{inbox_id}/threads/{thread_id}

Path parameters

inbox_idstring uuid required

Email inbox UUID.

thread_idstring uuid required

Email thread UUID.

Query parameters

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

Changed in 2 of the 61 revisions of this API.215

  • b1bf96d8391e214See the full diff
    • the response property data/allOf[subschema #2]/messages/items/message_id became nullable for the status 200

      response-property-became-nullable

    • the response property data/allOf[subschema #2]/messages/items/received_at became nullable for the status 200

      response-property-became-nullable

    • added the new outbound enum value to the data/allOf[subschema #2]/messages/items/direction response property for the response status 200

      response-property-enum-value-added

    • removed the received enum value from the data/allOf[subschema #2]/messages/items/status response property for the response status 200

      response-property-enum-value-removed

    • added the required property data/allOf[InboundThread]/labels to the response with the 200 status

      response-required-property-added

    • added the required property data/allOf[subschema #2]/messages/items/labels to the response with the 200 status

      response-required-property-added

    • added the required property data/allOf[subschema #2]/messages/items/sent_at to the response with the 200 status

      response-required-property-added

    • endpoint added

      endpoint-added