Skip to main content
PATCH
Inboxes are currently in private beta and only available to a limited number of users. The response shape might change before GA.Get early access if you’re interested in testing this feature.Once you have access, upgrade your Resend SDK to use the new methods:
Updates the content of an unsent draft.

Path Parameters

Body Parameters

string | string[] | null
Recipients.
string | string[] | null
CC recipients.
string | string[] | null
BCC recipients.
string | null
The subject. Max 2000 characters.
string | null
The HTML body.
string | null
The plain-text body. Pass null to clear. Sending html or text replaces both, and the one you leave out is saved as null.
array | null
Files to store on the draft.

Response Fields

string
Always inbox_draft.
string
The ID of the draft.