Endpoints

MethodRouteAuthDescription
POST/api/v1/WhatsappTemplate/getall🔑 API KeyGet paginated list of templates with filters
GET/api/v1/WhatsappTemplate/getbyid/{id}🔑 API KeyGet specific template by ID
GET/api/v1/WhatsappTemplate/preview/{id}🔑 API KeyGet template preview rendering
GET/api/v1/WhatsappTemplate/search🔑 API KeySearch approved templates by name
GET/api/v1/WhatsappTemplate/{id}/json🔑 API KeyGet 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
  }
}