Skip to main content
POST
Send SMS

Authorizations

X-API-Key
string
header
required

Prefix tor_ followed by a base64url-encoded random key. Obtain one from POST /api/v1/workspaces or POST /api/v1/auth/keys.

Headers

Idempotency-Key
string

Unique key to prevent duplicate sends on retry

Body

application/json
to
string
required

Recipient phone number in E.164 format (Mozambican numbers only)

Example:

"+258841234567"

body
string
required

Message text

Required string length: 1 - 1600
Example:

"Your verification code is 482910. Expires in 10 minutes."

Response

Message queued

data
object