Skip to main content
POST

Path Parameters

string
required
Full mailbox address (eva@wireboxmail.com) or local agent handle (eva).

Headers

string
Optional client-generated token (UUID v4 or random ASCII string) that makes retries safe: replaying a request with the same key returns the original 201 response with an Idempotent-Replayed: true header instead of sending a second email.

Body Parameters

string | string[]
required
Recipient email address or array of addresses.
string
required
Email subject line (max 998 characters).
string
Plain-text body. At least one of text or html is required.
string
HTML formatted body.
string | string[]
Optional CC recipients.
string | string[]
Optional BCC recipients.
string | string[]
Optional Reply-To address(es).
object[]
Optional attachments. Each object requires filename and content_type, plus either content (base64 string) or url (publicly fetchable URL). content_id is optional.
object
Optional custom RFC headers as a key/value map.
To reply within an existing thread, use POST /mailboxes/{email_address}/messages/{message_id}/reply, which sets the RFC In-Reply-To and References headers automatically.
Custom Domain DNS Verification Required: Outbound sends from mailboxes using custom domains are strictly guarded. If the custom domain’s DNS status is not verified (e.g. pending setup or broken SPF/DKIM), the API returns 412 Precondition Failed (domain_not_verified) instead of silently sending unauthenticated emails that would ruin sender reputation.

Response

string
Unique identifier of the sent message (msg_ prefix).
string
Conversation thread created (or reused) for this message.