Send a message
POST
https://myagentmail.com/v1/inboxes/{id}/sendFor agents View as Markdown
Sends from this inbox. The From header is derived from the inbox's primary alias. Pass verified: true when you've validated the recipient domain out-of-band (e.g. via verify-email); otherwise, sends to an address that has never replied to this inbox are rejected as a deliverability safeguard.
Path parameters
idrequired string | Inbox UUID |
Request body
Content-Type: application/json
torequired string | string[] | |
subjectrequired string | |
plainBodystring | |
htmlBodystring | |
replyTostring | format: email |
verifiedboolean | default: false |
Responses
200application/jsonSent
idstring | format: uuid |
threadIdstring | format: uuid |
statusstring | |
messageIdstring |
403Inbox paused or plan limit reached
502SMTP relay error
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.