Skip to main content

Send WhatsApp Template

Endpoint: POST /api/v1/whatsapp/send-template Purpose: Sends a pre‑approved template message to a WhatsApp user. Request Body (JSON):
Headers:
  • Authorization: Bearer <API_KEY>
  • Content-Type: application/json
Response:
  • 200 OK – Message accepted for delivery.
  • Body:
Error Cases:
  • 400 Bad Request – Invalid payload.
  • 401 Unauthorized – Invalid or missing API key.
  • 404 Not Found – Template not found or not approved.
Authentication: API key in Authorization header. Permissions: Requires whatsapp:send scope.