channels
whatsapp
whatsapp-service-management
whatsapp-template-management

Get WhatsApp Templates

Get all the templates and their statuses for a given sender. This version is deprecated as of June 29th 2022, meaning no fixes/updates will be provided and no new parameters will be added. This API will be deleted at the end of the year. Please use the latest version.

get/whatsapp/1/senders/{sender}/templates

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token
    • or API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic

Path parameters

senderstring required

Registered WhatsApp sender number. Must be in international format.

Response

List of all templates and their statuses for a given sender.

Example response

{
  "templates": [
    {
      "id": "111",
      "businessAccountId": 222,
      "name": "template_name",
      "language": "en",
      "status": "APPROVED",
      "category": "ACCOUNT_UPDATE",
      "structure": {
        "body": "body {{1}} content",
        "footer": "footer"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.