List templates for app (paginated)

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

KeyDescriptionValuesData TypeRequired/Optional
appIdIdentifier of the WhatsApp app the call acts on.6f414190-d45c-4671-bca1-fb6c3018cb13StringRequired

Query parameters

KeyDescriptionValuesData TypeRequired/Optional
pageNoPage number, starting at 1. Defaults to 1. Below 1 is rejected (400).1IntegerOptional
pageSizeTemplates per page, 1 to 100. Defaults to 100. Outside that range is rejected (400).20IntegerOptional
templateStatusFilter by template statusAPPROVEDStringOptional
templateCategoryFilter by template category: MARKETING, UTILITY or AUTHENTICATIONUTILITYStringOptional
templateTypeFilter by template typeTEXTStringOptional
qualityFilter by template qualityGREENStringOptional
languageCodeFilter by template language codeenStringOptional

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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Identifier of the WhatsApp app the call acts on.

Query Params
integer
≥ 1
Defaults to 1

Page number, starting at 1. Defaults to 1. Below 1 is rejected (400).

integer
1 to 100
Defaults to 100

Templates per page, 1 to 100. Defaults to 100. Outside that range is rejected (400).

string

Filter by template status

string

Filter by template category: MARKETING, UTILITY or AUTHENTICATION

string

Filter by template type

string

Filter by template quality

string

Filter by template language code

Responses

Language
Credentials
Bearer
Universal Token (UT)
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json