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.

Body

application/json
to
string
required

E.164 recipient.

Pattern: ^\+[1-9]\d{1,14}$
Example:

"+14155551234"

body
string
required
Required string length: 1 - 1600
Example:

"Your code is 123456"

from
string | null

Optional sender number or alphanumeric sender id.

Maximum string length: 20

Response

Message queued

data
object
required