v52

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-311,1941,9384.1 MB
Email Drafts

Update a draft

Updates the supplied fields on a draft. account_id and inbox_id are server-owned and ignored if present in the body, so a draft can never be moved between accounts or inboxes.

A draft that is being sent or has already been sent is immutable and returns 422 — modifying it would race with delivery or rewrite the record of what was actually sent.

put/email_inboxes/{inbox_id}/drafts/{draft_id}

Path parameters

inbox_idstring uuid required

Email inbox UUID.

draft_idstring uuid required

Email draft UUID.

Request body

attachmentsobject[]
from_emailstring
from_namestring
headersobject
htmlstring

Alias for html_body, matching the send endpoint.

html_bodystring
labelsstring[]
metadataobject
reply_tostring
subjectstring
tagsstring[]
textstring

Alias for text_body, matching the send endpoint.

text_bodystring

Response

The updated draft.