cURL
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 WhatsApp message.", "beta_features": { "from": "1234567890", "whatsapp": true, "fallback": false } }'
{ "message": "Successfully sent", "crumbs": { "plan": "unlimited", "quota": 12, "type": "imessage", "ad": false } }
Send WhatsApp messages.
Authentication using a Bearer Token. Specify Authorization: Token YOUR_TOKEN. Bearer is allowed.
Authorization: Token YOUR_TOKEN
Bearer
Message sent successfully
The response is of type object.
object
Was this page helpful?