Send email
Send an email using the JSX Mail Cloud. Supports file attachments, bulk sending, custom payloads, and contact association.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The subject line of the email.
"Hello, world!"
The HTML content of the email body.
"<h1>Hello, world!</h1>"
Array of recipient email addresses.
Optional email address of the sender. If not provided, the most recently created sender will be used.
"sender@jsxmail.org"
Optional array of files IDs to attach to the email. This is in a close beta and requires a special permission. Contact support to get access.
Optional array of temporary attachments. These attachments will not be stored in the database and will be used only for this email.
Optional ID to associate the email with a bulk sending operation.
"b4f8d8c4-3c2e-4f2a-9f2e-3c2e4f2a9f2e"
Optional custom data to associate with the message. This is used to pass data like {{variable}} to the email body or subject.
{ "key1": "value1", "key2": "value2" }
Optional ID of a contact to associate the email with.
"a1b2c3d4-5e6f-7g8h-9i0j-1k2l3m4n5o6p"
Optional priority of the email. 'high' priority emails will be processed before 'normal' priority emails in the queue.
normal
, high
Optional webhook configuration for receiving notifications about message status changes