Skip to main content
POST
Send an email

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
from
string<email>
required

Sender, an @empiricalrun.email address that is unclaimed or claimed by this project. Replies arrive in its inbox.

Example:

"support-sender-k3f9@empiricalrun.email"

to
string<email>[]
required

Recipients. Each must be an @empiricalrun.email address, someone who emailed the sender, or one of the project's allowed recipients.

Required array length: 1 - 5 elements
subject
string
required

Subject line.

Required string length: 1 - 998
cc
string<email>[]

CC recipients.

Maximum array length: 5
bcc
string<email>[]

BCC recipients.

Maximum array length: 5
reply_to
string<email>

Reply-To address, if not from. Must be an @empiricalrun.email address.

text
string

Plain-text body.

html
string

HTML body.

in_reply_to
string

message_id of the email this replies to. Sets In-Reply-To and References so the reply threads.

Minimum string length: 1
references
string[]

Full References chain, oldest first. Defaults to in_reply_to.

Minimum string length: 1
attachments
object[]

Up to 5 files, 5 MiB in total.

Maximum array length: 5

Response

The email was accepted for delivery.

data
object
required

Response payload.