Skip to main content
POST
/
api
/
email
/
messages
/
send
Send an email message
curl --request POST \
  --url https://your-instance.example.com/api/email/messages/send \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "accountId": "<string>",
  "to": "<string>",
  "body": "<string>",
  "cc": [
    "<string>"
  ],
  "bcc": [
    "<string>"
  ],
  "subject": "<string>",
  "isHtml": true,
  "threadId": "<string>",
  "inReplyTo": "<string>",
  "references": "<string>",
  "isInternal": true,
  "attachments": [
    {
      "storageKey": "<string>",
      "url": "<string>",
      "filename": "<string>",
      "contentType": "<string>",
      "size": 123
    }
  ]
}
'
{}

Authorizations

Authorization
string
header
required

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

Body

application/json
accountId
string
required
to
string
required

String or array of strings

body
string
required
cc
string[]
bcc
string[]
subject
string
isHtml
boolean
threadId
string
inReplyTo
string
references
string
isInternal
boolean
attachments
object[]

Response

Email sent

Generic response envelope. Endpoint-specific fields are intentionally open.