POST
/
text
cURL
curl --request POST \
  --url https://api.contiguity.com/send/text \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "to": "+1234567890",
  "message": "Hello, world!"
}'
{
  "id": "req_xxxxxxxxxxxxxxxx",
  "timestamp": 1755815097884,
  "api_version": "v2025.8.21",
  "object": "response",
  "data": {
    "message_id": "txt_1234567890"
  }
}
Phone numbers must be in E.164 format with country codes. The API will attempt to convert other formats like NANP, but will throw an error if conversion fails.

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Send a text message

The response is of type object.