GET
/
v1
/
drafts
/
{draft_id}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

draft_id
string
required

Response

200 - application/json
attachments
object[]
required

An array of Attachment objects.

body
string

The full HTML body of the message without quotations.

channel_id
string
required

Identifier of the channel through which the conversation is taking place.

conversation_id
string
required

Identifier of the conversation the draft belongs to.

created_at
string
required

The ISO 8601 time at which the Draft was created.

external_draft_id
string

The identifier of the draft in an external system.

id
string
required

Unique identifier of the draft.

message_id
string

The ID of the message created by the draft.

quote_body
string

Body for the quote that the message is referencing. Only available on email channels.

raw_body
string

The full HTML body of the message. Messages with only plain-text representations are up-converted to HTML.

recipients
object[]
required

The name/handle pairs of the recipients, including to, cc, and bcc.

reply_to_message_id
string

The ID of the message that you're replying to.

reply_type
enum<string>

The type of reply that you're sending. If not provided, the channel will determine the reply type.

Available options:
reply,
reply_all,
forward
sender
object
required

The name/handle pairs of the recipients, including to, cc, and bcc.

subject
string

Subject of the email message, if applicable. Null for non-email conversations.