Skip to main content
POST
SDK

Authorizations

Authorization
string
header
required

Voyant Cloud API token, passed as Authorization: Bearer <token>. Each token carries a fixed set of scopes; an operation rejects tokens missing its required scope.

Headers

Idempotency-Key
string
required
Required string length: 1 - 256

Body

application/json
from
string
required
Required string length: 3 - 320
Example:

"noreply@updates.example.com"

to
string<email>[]
required
Required array length: 1 - 50 elements
subject
string
required
Required string length: 1 - 998
cc
string<email>[] | null
Maximum array length: 50
bcc
string<email>[] | null
Maximum array length: 50
replyTo
string<email>[] | null
Maximum array length: 5
html
string | null
Maximum string length: 1000000
text
string | null
Maximum string length: 1000000
attachments
object[] | null
Maximum array length: 20

Response

Email queued

data
object
required