Whatsapp Templates
Manage WhatsApp message templates. Get paginated lists, specific IDs, preview templates, search, and view raw JSON definitions.
Endpoints
| Method | Route | Auth | Description |
|---|---|---|---|
| POST | /api/v1/WhatsappTemplate/getall | Get paginated list of templates with filters | |
| GET | /api/v1/WhatsappTemplate/getbyid/{id} | Get specific template by ID | |
| GET | /api/v1/WhatsappTemplate/preview/{id} | Get template preview rendering | |
| GET | /api/v1/WhatsappTemplate/search | Search approved templates by name | |
| GET | /api/v1/WhatsappTemplate/{id}/json | Get raw template JSON definition |
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
}
}