v1

latestOpenAPI 3.0.02026-07-24143141.7 KB

get/wa/app/{app_id}/template

Path parameters

app_idstring required
Example:cebxx8x1-xxf6-406c-901x-3f78xxxx5ea

app id of app

Query parameters

pageNointeger

page number of the paginated API, default value is 0

pageSizeinteger
Example:100

number of templates per page, default value is 100

templateStatusstring
Example:APPROVED

status of the template

templateCategorystring
Example:MARKETING

category of the template - marketing, utility or authentication

templateTypestring
Example:TEXT

type of the template

qualitystring
Example:GREEN

quality of the template

languageCodestring
Example:en

language code of the template

Headers

apikeystring required
Example:2xxc4x4xx2c94xxxc2f9xx9d43xxxx8a

Your account API key

Response

Success response

status'success'

Status of the response

Example response

{
  "templates": [
    {
      "appId": "cebxx8x1-xxf6-406c-901x-3f78xxxx5ea",
      "buttonSupported": "URL",
      "category": "MARKETING",
      "containerMeta": "{\"appId\":\"cebxx8x1-xxf6-406c-901x-3f78xxxx5ea\",\"data\":\"Hi\",\"sampleText\":\"Hi\",\"enableSample\":true,\"editTemplate\":false,\"allowTemplateCategoryChange\":false,\"addSecurityRecommendation\":false}",
      "createdOn": 1721389818040,
      "data": "Hi",
      "elementName": "event_test",
      "id": "312371e9-2771-463b-8cfd-cd8994b810ccf",
      "languageCode": "en",
      "languagePolicy": "deterministic",
      "meta": "{\"example\":\"Hi\"}",
      "modifiedOn": 1721654078130,
      "namespace": "6a54628a_7f29_45a7_80b1_46549f39062d",
      "priority": 1,
      "quality": "UNKNOWN",
      "stage": "NONE",
      "status": "APPROVED",
      "templateType": "TEXT",
      "vertical": "otp",
      "wabaId": 123775134696983
    }
  ]
}