Endpoints

MethodRouteAuthDescription
POST/api/v1/WhatsappTemplate/getall🔑 API KeyRetrieve all your approved templates
GET/api/v1/WhatsappTemplate/getbyid/{id}🔑 API KeyLook up a specific template's details
GET/api/v1/WhatsappTemplate/preview/{id}🔑 API KeySee exactly what a template looks like
GET/api/v1/WhatsappTemplate/search🔑 API KeyQuickly find a template by its name
GET/api/v1/WhatsappTemplate/{id}/json🔑 API KeyView 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
  }
}