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": "https://api.contiguity.co/enterprise/message/intent?id=xxxxxx&fromNumber=string&toNumber=string&companyName=Twilio&option=text&embedText=title&imageURL=image",
  "beta_features": {
    "from": "+1234567890",
    "imessage": true,
    "fallback": false,
    "intent": true
  }
}'
{
  "message": "Successfully sent",
  "crumbs": {
    "plan": "unlimited",
    "quota": 12,
    "type": "imessage",
    "ad": false
  }
}

This endpoint is only available to Enterprise customers.

Phone numbers must be in E.164 format with country codes.

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

The Message Intent URL generated

beta_features
object
required

Response

200
application/json
Message Intent sent successfully
message
string
crumbs
object