v1

latestOpenAPI 3.1.02026-07-2414238909.1 KB

Submit Whatsapp Template for review

post/accounts/{whatsappAccountId}/templates

Path parameters

whatsappAccountIdstring required

WhatsApp account id

Headers

Authorizationstring required

Bearer {access_token}

Content-Typestring required

application/json

Request body

templateNamestring

The name of the Template. Max 512 ASCII char set

templateCategorystring

Category of the template. Fixed set as per documentation.

localizationsstring

Localizations of the template

componentsstring

Components the template is defined of

componentTypestring

Determines the type of the component. Can be Header, Footer, Body, Buttons.

textstring

Template text

formatstring

Which kind of header can be any of TEXT / IMAGE / DOCUMENT / VIDEO

Response

201

templateNamestring
templateCategorystring

Example response

{
  "templateName": "body_only",
  "templateCategory": "ACCOUNT_UPDATE",
  "localizations": [
    {
      "language": "en",
      "components": [
        {
          "type": "BODY",
          "text": "Hello {{1}}!"
        }
      ]
    }
  ]
}