Skip to main content
POST
/
html
/
send
Send HTML email
curl --request POST \
  --url https://emails.platform.arb.inc/html/send \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "expires": "2025-08-15T10:30:00Z",
  "from": {
    "address": "support@arb.inc",
    "name": "Arb Support"
  },
  "to": [
    {
      "address": "user@example.com",
      "name": "John Doe"
    }
  ],
  "subject": "Important Notice - Action Required",
  "html": "<html><body><h1>Welcome</h1><p>Thank you for signing up!</p></body></html>",
  "idempotency_key": "notice-2025-08-00292",
  "cc": [
    {
      "address": "cc@example.com",
      "name": "Jane Smith"
    }
  ],
  "bcc": [
    {
      "address": "bcc@example.com",
      "name": "Admin"
    }
  ],
  "replyTo": {
    "name": "Support Team",
    "address": "replyto@example.com"
  },
  "text": "Welcome! Thank you for signing up!"
}
'
{
  "message": "email queued for delivery"
}

Authorizations

Authorization
string
header
required

access token

Body

application/json
expires
string<date-time>
required

Expiration time for the email send request

Example:

"2025-08-15T10:30:00Z"

from
object
required
to
object[]
required

List of recipient email addresses

Minimum array length: 1
subject
string
required

Email subject line

Example:

"Important Notice - Action Required"

html
string
required

HTML content of the email

Example:

"<html><body><h1>Welcome</h1><p>Thank you for signing up!</p></body></html>"

idempotency_key
string
required

Unique key to prevent duplicate email sends

Maximum string length: 100
Example:

"notice-2025-08-00292"

cc
object[]

Optional list of CC recipients

bcc
object[]

Optional list of BCC recipients

replyTo
object

Optional reply-to email address

text
string

Optional plain text version of the email

Example:

"Welcome! Thank you for signing up!"

Response

200 - application/json

Email successfully queued for delivery

message
string
Example:

"email queued for delivery"