Get Draft

Path parameters

draft_idstringRequired
ID of draft.

Headers

AuthorizationstringRequired

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

Response

This endpoint returns an object.
inbox_idstring
ID of inbox.
thread_idstring
ID of thread.
draft_idstring
ID of draft.
labelslist of strings
Labels of draft.
updated_atdatetime
Time at which draft was last updated.
created_atdatetime
Time at which draft was created.
tolist of strings or null

Addresses of recipients. In format username@domain.com or Display Name <username@domain.com>.

cclist of strings or null

Addresses of CC recipients. In format username@domain.com or Display Name <username@domain.com>.

bcclist of strings or null

Addresses of BCC recipients. In format username@domain.com or Display Name <username@domain.com>.

subjectstring or null
Subject of draft.
previewstring or null
Text preview of draft.
textstring or null
Plain text body of draft.
htmlstring or null
HTML body of draft.
attachmentslist of objects or null
Attachments in draft.
in_reply_tostring or null
ID of message being replied to.
referenceslist of strings or null
IDs of previous messages in thread.

Errors