WhatsApp templates
List templates approved for your WhatsApp Business number.
Scope whatsapp:send. GET https://api.messengernepal.com.np/api/v1/whatsapp/templates returns templates you can reference by template_name or template_id on POST /send. Sync and manage templates in the dashboard under WhatsApp templates.
Request: GET /api/v1/whatsapp/templates
bash
curl -X GET "https://api.messengernepal.com.np/api/v1/whatsapp/templates" \
-H "X-API-Key: msnp_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"Response: approved templates
json
{
"success": true,
"data": {
"templates": [
{
"id": "6621bb22cc33dd44ee55ff66",
"name": "order_update",
"language": "en",
"category": "UTILITY",
"status": "APPROVED",
"components": []
}
]
}
}