Send email
Send an email from an inbox. Optionally pass an Idempotency-Key header to make retries safe: a repeat with the same key within 24 hours returns the original message instead of sending again. Without it the API generates a key and sends once. Use threadId to reply to an existing thread. When replying on a thread where your inbox was CC'd (deliveryRole cc), the original sender is automatically CC'd.
Every recipient this call can reach — to, cc (including any address auto-CC'd on a thread reply), bcc, and replyTo — is checked against the inbox's outbound correspondent policy before anything is sent. A single denied recipient rejects the whole send with 403 recipient_not_permitted; there is no partial delivery.
bcc recipients are delivered and stored on the outbound message, but they are not listed on the copy To and Cc recipients receive. An address already in to or cc is not also blind-copied.
Request
- Base URL: https://api.openmail.sh
- URL: https://api.openmail.sh/v1/inboxes/{id}/send
- Auth: HTTP bearer
Path parameters
Headers
Optional. Unique key (e.g. UUID) that makes retries safe: a repeat with the same key within 24 hours returns the original message instead of sending again. Generated server-side when omitted.
Request body
Response
Email sent (or idempotent replay)
Changes
No recorded changes to this operation across all 1 revision of this API.