get
https://partner.gupshup.io/partner/bizgate/app//template/metalibrary
Returns entries from the shared WhatsApp template library, filterable by industry, use case, category, language, and free-text search.
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 |
|---|---|---|---|---|
| elementName | Search by template element name | order_shipped | — | Optional |
| multiSearch | Multi-field search — overrides elementName when provided | — | — | Optional |
| topic | Filter by topic | — | — | Optional |
| usecase | Filter by use case | — | — | Optional |
| industry | Filter by industry | — | — | Optional |
| languageCode | Filter by language code | en | — | Optional |
| templateCategory | Filter by template category | UTILITY | — | Optional |
| pageNo | Page number (0-based) | 0 | — | Optional |
| pageSize | Page size (default 100) | 20 | — | Optional |
Sample cURL — Get templates from metalibrary.
curl --request GET \
--url 'https://partner.gupshup.io/partner/bizgate/app/6f414190-d45c-4671-bca1-fb6c3018cb13/template/metalibrary?elementName=order_shipped&languageCode=en&templateCategory=UTILITY&pageNo=0&pageSize=20' \
--header 'Authorization: Bearer <UT>' \
--header 'Accept: application/json'Sample success response (200)
{
"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…