Send a draft
POST
https://myagentmail.com/v1/inboxes/{id}/drafts/{did}/sendFor agents View as Markdown
Sends the current draft contents and deletes the draft atomically. If the draft has replyToMessageId, the sent message is threaded as a reply.
Path parameters
idrequired string | Inbox UUID |
didrequired string | Draft UUID |
Responses
200application/jsonSent
idstring | format: uuid |
threadIdstring | format: uuid |
statusstring | |
messageIdstring | |
draftIdstring | format: uuid |
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.