API Reference

Send WhatsApp or SMS messages via HTTP POST:

POST /api/v1/messages
Authorization: Bearer p2a_live_...
Content-Type: application/json

{
  "channel": "WHATSAPP",
  "to": "+919876543210",
  "type": "TEMPLATE",
  "template": {
    "name": "order_update",
    "language": "en"
  }
}

Swagger UI documentation is available on the running API server at http://localhost:4000/api/docs.