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!"
}
'import requests
url = "https://emails.platform.arb.inc/html/send"
payload = {
"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!"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
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!'
})
};
fetch('https://emails.platform.arb.inc/html/send', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://emails.platform.arb.inc/html/send",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'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!'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://emails.platform.arb.inc/html/send"
payload := strings.NewReader("{\n \"expires\": \"2025-08-15T10:30:00Z\",\n \"from\": {\n \"address\": \"support@arb.inc\",\n \"name\": \"Arb Support\"\n },\n \"to\": [\n {\n \"address\": \"user@example.com\",\n \"name\": \"John Doe\"\n }\n ],\n \"subject\": \"Important Notice - Action Required\",\n \"html\": \"<html><body><h1>Welcome</h1><p>Thank you for signing up!</p></body></html>\",\n \"idempotency_key\": \"notice-2025-08-00292\",\n \"cc\": [\n {\n \"address\": \"cc@example.com\",\n \"name\": \"Jane Smith\"\n }\n ],\n \"bcc\": [\n {\n \"address\": \"bcc@example.com\",\n \"name\": \"Admin\"\n }\n ],\n \"replyTo\": {\n \"name\": \"Support Team\",\n \"address\": \"replyto@example.com\"\n },\n \"text\": \"Welcome! Thank you for signing up!\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://emails.platform.arb.inc/html/send")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"expires\": \"2025-08-15T10:30:00Z\",\n \"from\": {\n \"address\": \"support@arb.inc\",\n \"name\": \"Arb Support\"\n },\n \"to\": [\n {\n \"address\": \"user@example.com\",\n \"name\": \"John Doe\"\n }\n ],\n \"subject\": \"Important Notice - Action Required\",\n \"html\": \"<html><body><h1>Welcome</h1><p>Thank you for signing up!</p></body></html>\",\n \"idempotency_key\": \"notice-2025-08-00292\",\n \"cc\": [\n {\n \"address\": \"cc@example.com\",\n \"name\": \"Jane Smith\"\n }\n ],\n \"bcc\": [\n {\n \"address\": \"bcc@example.com\",\n \"name\": \"Admin\"\n }\n ],\n \"replyTo\": {\n \"name\": \"Support Team\",\n \"address\": \"replyto@example.com\"\n },\n \"text\": \"Welcome! Thank you for signing up!\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://emails.platform.arb.inc/html/send")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"expires\": \"2025-08-15T10:30:00Z\",\n \"from\": {\n \"address\": \"support@arb.inc\",\n \"name\": \"Arb Support\"\n },\n \"to\": [\n {\n \"address\": \"user@example.com\",\n \"name\": \"John Doe\"\n }\n ],\n \"subject\": \"Important Notice - Action Required\",\n \"html\": \"<html><body><h1>Welcome</h1><p>Thank you for signing up!</p></body></html>\",\n \"idempotency_key\": \"notice-2025-08-00292\",\n \"cc\": [\n {\n \"address\": \"cc@example.com\",\n \"name\": \"Jane Smith\"\n }\n ],\n \"bcc\": [\n {\n \"address\": \"bcc@example.com\",\n \"name\": \"Admin\"\n }\n ],\n \"replyTo\": {\n \"name\": \"Support Team\",\n \"address\": \"replyto@example.com\"\n },\n \"text\": \"Welcome! Thank you for signing up!\"\n}"
response = http.request(request)
puts response.read_body{
"message": "email queued for delivery"
}Send HTML email
Sends an email with raw HTML content and queues it for delivery. Accepts full HTML markup with optional plain text fallback. Requires emails.email.sender permission.
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!"
}
'import requests
url = "https://emails.platform.arb.inc/html/send"
payload = {
"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!"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
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!'
})
};
fetch('https://emails.platform.arb.inc/html/send', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://emails.platform.arb.inc/html/send",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'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!'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://emails.platform.arb.inc/html/send"
payload := strings.NewReader("{\n \"expires\": \"2025-08-15T10:30:00Z\",\n \"from\": {\n \"address\": \"support@arb.inc\",\n \"name\": \"Arb Support\"\n },\n \"to\": [\n {\n \"address\": \"user@example.com\",\n \"name\": \"John Doe\"\n }\n ],\n \"subject\": \"Important Notice - Action Required\",\n \"html\": \"<html><body><h1>Welcome</h1><p>Thank you for signing up!</p></body></html>\",\n \"idempotency_key\": \"notice-2025-08-00292\",\n \"cc\": [\n {\n \"address\": \"cc@example.com\",\n \"name\": \"Jane Smith\"\n }\n ],\n \"bcc\": [\n {\n \"address\": \"bcc@example.com\",\n \"name\": \"Admin\"\n }\n ],\n \"replyTo\": {\n \"name\": \"Support Team\",\n \"address\": \"replyto@example.com\"\n },\n \"text\": \"Welcome! Thank you for signing up!\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://emails.platform.arb.inc/html/send")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"expires\": \"2025-08-15T10:30:00Z\",\n \"from\": {\n \"address\": \"support@arb.inc\",\n \"name\": \"Arb Support\"\n },\n \"to\": [\n {\n \"address\": \"user@example.com\",\n \"name\": \"John Doe\"\n }\n ],\n \"subject\": \"Important Notice - Action Required\",\n \"html\": \"<html><body><h1>Welcome</h1><p>Thank you for signing up!</p></body></html>\",\n \"idempotency_key\": \"notice-2025-08-00292\",\n \"cc\": [\n {\n \"address\": \"cc@example.com\",\n \"name\": \"Jane Smith\"\n }\n ],\n \"bcc\": [\n {\n \"address\": \"bcc@example.com\",\n \"name\": \"Admin\"\n }\n ],\n \"replyTo\": {\n \"name\": \"Support Team\",\n \"address\": \"replyto@example.com\"\n },\n \"text\": \"Welcome! Thank you for signing up!\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://emails.platform.arb.inc/html/send")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"expires\": \"2025-08-15T10:30:00Z\",\n \"from\": {\n \"address\": \"support@arb.inc\",\n \"name\": \"Arb Support\"\n },\n \"to\": [\n {\n \"address\": \"user@example.com\",\n \"name\": \"John Doe\"\n }\n ],\n \"subject\": \"Important Notice - Action Required\",\n \"html\": \"<html><body><h1>Welcome</h1><p>Thank you for signing up!</p></body></html>\",\n \"idempotency_key\": \"notice-2025-08-00292\",\n \"cc\": [\n {\n \"address\": \"cc@example.com\",\n \"name\": \"Jane Smith\"\n }\n ],\n \"bcc\": [\n {\n \"address\": \"bcc@example.com\",\n \"name\": \"Admin\"\n }\n ],\n \"replyTo\": {\n \"name\": \"Support Team\",\n \"address\": \"replyto@example.com\"\n },\n \"text\": \"Welcome! Thank you for signing up!\"\n}"
response = http.request(request)
puts response.read_body{
"message": "email queued for delivery"
}Authorizations
access token
Body
Expiration time for the email send request
"2025-08-15T10:30:00Z"
Show child attributes
Show child attributes
List of recipient email addresses
1Show child attributes
Show child attributes
Email subject line
"Important Notice - Action Required"
HTML content of the email
"<html><body><h1>Welcome</h1><p>Thank you for signing up!</p></body></html>"
Unique key to prevent duplicate email sends
100"notice-2025-08-00292"
Optional list of CC recipients
Show child attributes
Show child attributes
Optional list of BCC recipients
Show child attributes
Show child attributes
Optional reply-to email address
Show child attributes
Show child attributes
Optional plain text version of the email
"Welcome! Thank you for signing up!"
Response
Email successfully queued for delivery
"email queued for delivery"