Safravo Logosafravo.com

Send a WhatsApp template message

Send a Meta-approved HSM template. **Note: This request MUST be sent to `POST /v1/messages/templates`.** Rate limited to 20/min. Fetch approved templates via `GET /v1/templates`.

POST
/v1/messages/templates
X-API-Key<token>

API key for the public Messaging API (/v1/*)

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "http://localhost:3006/v1/messages/templates" \  -H "Content-Type: application/json" \  -d '{    "to": "+254712345678",    "template_name": "order_confirmation",    "language": "en"  }'
Empty
Empty
Empty