email-threads

Get a thread message's original body

Returns the original rendered HTML and plain-text body of a message in a conversation. The original body is available for 30 days after the message occurred. Later requests return 410 Gone, while the message's extracted text stays readable on the message itself.

get/v1/email/threads/{thread_id}/messages/{message_id}/body

Request

  • Base URL: https://us1.platform.bird.com
  • URL: https://us1.platform.bird.com/v1/email/threads/{thread_id}/messages/{message_id}/body
  • Auth: one of:
    • HTTP bearer
    • API key in cookie bird_session

Headers

X-Workspace-Idstring

Workspace context for the request. Required for dashboard authentication and master keys. Workspace keys and access tokens already identify their workspace; send that workspace or omit the header. A different one is rejected.

X-Organization-Idstring

Organization context for the request. Required for dashboard authentication. An API key or access token carries its own organization, so send either that organization or no header at all; a different one is rejected.

Response

The original rendered body.

htmlstring nullable required

The HTML body of the message, or null when the message had no HTML part.

textstring nullable required

The plain-text body of the message, or null when the message had no text part.

Changes

No recorded changes to this operation across all 2 revisions of this API.