Whatsapp Templates
Keep your messaging consistent. Use these endpoints to manage, search, and preview your approved WhatsApp templates.
Endpoints
| Method | Route | Auth | Description |
|---|---|---|---|
| POST | /api/v1/WhatsappTemplate/getall | Retrieve all your approved templates | |
| GET | /api/v1/WhatsappTemplate/getbyid/{id} | Look up a specific template's details | |
| GET | /api/v1/WhatsappTemplate/preview/{id} | See exactly what a template looks like | |
| GET | /api/v1/WhatsappTemplate/search | Quickly find a template by its name | |
| GET | /api/v1/WhatsappTemplate/{id}/json | View the underlying template code |
POST
/api/v1/WhatsappTemplate/getall
JSON Request
{
"pageIndex": 1,
"pageSize": 10,
"searchString": "Welcome"
}JSON Response
{
"isSuccess": true,
"data": {
"list": [
{
"id": "53f191b7-9577-4406-81da-45e0f7690f70",
"title": "Welcome Template",
"language": "en_US",
"status": 1
}
],
"totalCount": 1
}
}