Returns a list of templates (getTemplates)
GET {{baseUrl}}/channels/:providerChannelId/templates
This endpoint is used to fetch a list of templates, when the channel was registered with template_support: true
option. Right now, only approved WhatsApp templates are supported.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"success":true,"data":{"templates":[{"id":"nostrud aliquip consequat","name":"ut consequat dolor et","content":"consequat","language":""},{"id":"cillum veniam fugiat","name":"nostrud tempor","content":"id amet cupidatat","language":"minim dolore sed"}]}}