POST
/
send
/
text
curl --request POST \
  --url https://api.contiguity.co/send/text \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "to": "+1234567890",
  "message": "Hello, this is a test text message."
}'
{
  "message": "Successfully sent",
  "crumbs": {
    "plan": "payg",
    "quota": 12,
    "type": "sms",
    "ad": false
  }
}

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

Authentication using a Bearer Token. Specify Authorization: Token YOUR_TOKEN. Bearer is allowed.

Body

application/json
to
string
required

Recipient's phone number in E.164 format

message
string
required

Content of the message

Response

200
application/json
Message sent successfully
message
string
crumbs
object