📤
Send a message via API
Developer & API
Endpoint
POST /v1/messages
Send a template message
POST /v1/messages { "to": "+919876543210", "type": "template", "template": { "name": "order_confirmation", "language": "en", "components": [ { "type": "body", "parameters": [{ "type": "text", "text": "Riya" }] } ] } }
Send a free-form text (within 24h window)
POST /v1/messages { "to": "+919876543210", "type": "text", "text": { "body": "Hi, how can we help?" } }