Update a draft
PATCH
https://myagentmail.com/v1/inboxes/{id}/drafts/{did}For agents View as Markdown
Merge-patch. Omitted fields are left as-is.
Path parameters
idrequired string | Inbox UUID |
didrequired string | Draft UUID |
Request body
Content-Type: application/json
idstring | format: uuid |
inboxIdstring | format: uuid |
tostring[] | |
ccstring[] | |
bccstring[] | |
subjectstring | |
plainBodystring | |
htmlBodystring | |
replyToMessageIdstring | format: uuid |
createdAtstring | format: date-time |
updatedAtstring | format: date-time |
Responses
200Updated
Authentication
Send your API key in the X-API-Key header (or Authorization: Bearer <key>). Any prefix accepted by this endpoint — tk_, wk_, ak_, or sa_ — is documented in the key prefix table.