Send an email.
API key authentication. Get your API key from the SimpleEmailAPI dashboard and include it in the Authorization header as: Bearer sea_live_xxxxx
Define the version of the Connect protocol
1 Define the timeout, in ms
Request to send an email.
Verified sender email address (e.g., "notifications@yourdomain.com").
Primary recipients.
Carbon copy recipients.
Blind carbon copy recipients.
Email subject line.
Plain text content. Always recommended for better deliverability.
HTML content.
Custom metadata to track this email. These values are returned in webhooks and events.
Schedule this email for a future time (UTC).
"2023-01-15T01:30:15.01Z"
"2024-12-25T12:00:00Z"
File attachments.
A file attachment.
Message-ID of the email to reply to. Setting this automatically handles threading headers (In-Reply-To, References).
Explicit threading references. Usually not needed if in_reply_to is set.
Reply to a previous email using its email_id (from our response). Automatically resolves to the correct Message-ID for threading headers. For advanced use, you can still use in_reply_to with raw Message-IDs.
Success
Response after sending an email.
Unique email ID. Use this to track events and for reply_to in future emails.
Status is always QUEUED. Listen to webhooks/events for delivery status.
EMAIL_STATUS_UNSPECIFIED, EMAIL_STATUS_QUEUED, EMAIL_STATUS_PROCESSING, EMAIL_STATUS_SENT, EMAIL_STATUS_FAILED Human-readable description of the status.