get
https://partner.gupshup.io/partner/bizgate/app//template/list
Returns one page of the app's WhatsApp templates from Self Serve, with optional filters for status, category, type, quality, and language.
Request parameters
Path parameters
| Key | Description | Values | Data Type | Required/Optional |
|---|---|---|---|---|
| appId | Identifier of the WhatsApp app the call acts on. | 6f414190-d45c-4671-bca1-fb6c3018cb13 | String | Required |
Query parameters
| Key | Description | Values | Data Type | Required/Optional |
|---|---|---|---|---|
| pageNo | Page number, starting at 1. Defaults to 1. Below 1 is rejected (400). | 1 | Integer | Optional |
| pageSize | Templates per page, 1 to 100. Defaults to 100. Outside that range is rejected (400). | 20 | Integer | Optional |
| templateStatus | Filter by template status | APPROVED | String | Optional |
| templateCategory | Filter by template category: MARKETING, UTILITY or AUTHENTICATION | UTILITY | String | Optional |
| templateType | Filter by template type | TEXT | String | Optional |
| quality | Filter by template quality | GREEN | String | Optional |
| languageCode | Filter by template language code | en | String | Optional |
Sample cURL — List templates for app (paginated).
curl --request GET \
--url 'https://partner.gupshup.io/partner/bizgate/app/6f414190-d45c-4671-bca1-fb6c3018cb13/template/list?pageNo=1&pageSize=20&templateStatus=APPROVED&templateCategory=UTILITY&templateType=TEXT&quality=GREEN&languageCode=en' \
--header 'Authorization: Bearer <UT>' \
--header 'Accept: application/json'Sample success response (200)
{
"status": "success",
"data": {
"status": "success",
"templates": [
{
"id": "tpl-1001",
"elementName": "hello_world",
"languageCode": "en",
"category": "UTILITY",
"status": "APPROVED",
"templateType": "TEXT"
}
]
}
}Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…