Skip to main content
PUT
Update a draft

Authorizations

X-API-Key
string
header
required

API key (sk_xxx) from Developer Settings. No X-Account-ID needed.

Headers

x-account-id
string | null

Path Parameters

draft_id
string<uuid>
required

Body

application/json
subject
string | null
body_html
string | null
to_emails
string[] | null
cc_emails
string[] | null
bcc_emails
string[] | null
attachments
Attachments · object[] | null

Response

Successful Response

id
string<uuid>
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
account_id
string<uuid>
required
user_id
string<uuid>
required
subject
string | null
required
body_html
string
required
to_emails
string[]
required
cc_emails
string[]
required
bcc_emails
string[]
required
attachments
Attachments · object[]
required