Update Draft
Update fields on an existing draft.
Omitted fields are left unchanged. Send at least one of to, cc, bcc,
subject, text, or html. The merged draft must still contain at least one
non-empty field. Combined recipients cannot exceed 50.
Path Parameters
Section titled “Path Parameters”The Inbox ID.
The Draft ID.
Body Parameters
Section titled “Body Parameters”-
to(string | string[] | null) — Recipients. Passnullto clear. -
cc(string | string[] | null) — CC recipients. Passnullor[]to clear. -
bcc(string | string[] | null) — BCC recipients. Passnullor[]to clear. -
subject(string | null) — The subject. Passnullto clear. Max 2000 characters. -
html(string | null) — The HTML body. Passnullto clear. -
text(string | null) — The plain-text body. Passnullto clear.
Response Fields
Section titled “Response Fields”-
object(string) — Alwaysinbox_draft. -
id(string) — The ID of the draft. -
type(string) —standalonefor a new conversation, orreply. -
to(string[] | null) — Recipients. -
cc(string[]) — CC recipients. -
bcc(string[]) — BCC recipients. -
subject(string | null) — The subject. -
html(string | null) — The HTML body. -
text(string | null) — The plain-text body. -
thread_id(string | null) — The Thread ID when this draft is a reply.nullotherwise. -
reply_to_email_id(string | null) — The Email ID being replied to.nullotherwise. -
email_id(string | null) — The queued outbound email after send.nulluntil then. -
created_at(string) — ISO 8601 timestamp when the draft was created. -
updated_at(string) — ISO 8601 timestamp when the draft was last saved.
import { Resend } from 'resend';
const resend = new Resend('re_xxxxxxxxx');
const { data, error } = await resend.inboxes.drafts.update({
inboxId: 'b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1',
draftId: 'c3a1e8b4-2d5f-4a7c-9e10-6b8d7f5a4c32',
subject: 'Refund issued for order 1041',
});curl -X PATCH 'https://api.resend.com/inboxes/b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1/drafts/c3a1e8b4-2d5f-4a7c-9e10-6b8d7f5a4c32' \
-H 'Authorization: Bearer re_xxxxxxxxx' \
-H 'Content-Type: application/json' \
-d $'{
"subject": "Refund issued for order 1041"
}'resend inboxes drafts update \
--inbox_id b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1 \
--draft_id c3a1e8b4-2d5f-4a7c-9e10-6b8d7f5a4c32 \
--subject "Refund issued for order 1041"{
"object": "inbox_draft",
"id": "c3a1e8b4-2d5f-4a7c-9e10-6b8d7f5a4c32",
"type": "standalone",
"to": ["ada@example.org"],
"cc": [],
"bcc": [],
"subject": "Refund issued for order 1041",
"html": "<p>Refund issued for order 1041.</p>",
"text": "Refund issued for order 1041.",
"thread_id": null,
"reply_to_email_id": null,
"email_id": null,
"created_at": "2026-08-05T14:12:04.110Z",
"updated_at": "2026-08-05T14:13:22.004Z"
}