Skip to main content
POST
cURL
Send to, subject, body, cc and bcc at the top level of the body, with no wrapper. to needs at least one address and subject is at most 255 characters. This sends real mail. The email then appears in List an account’s emails.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set host to your Exsited API host name and paste an access token from Get an access token. To send a raw JSON body instead of filling in fields, copy the cURL sample and edit its -d payload.

Authorizations

Authorization
string
header
required

An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.

Path Parameters

account_id
string
required

The account's id, such as ACC0001. Not its uuid.

Body

application/json
to
string[]
required

The recipients. At least one is required.

subject
string

At most 255 characters.

Maximum string length: 255
body
string
cc
string[]
bcc
string[]

Response

The email is sent, and comes back under email.