WhatsApp

List WhatsApp templates

A number's message templates.

As last pulled from Meta; the reconciler pulls them every few minutes while one is in review, and twice a day otherwise.

Path Parameters

number*string

The number's id, or its phone_number_id.

Lengthlength <= 64

Header Parameters

X-Request-Id?string

Your id for this request; it becomes the request_id of any error. Without it the server makes one.

curl -X GET 'https://v3.ghala.io/v1/channels/whatsapp/numbers/string/templates'
{  "data": [    {      "id": "string",      "name": "string",      "language": "string",      "category": "string",      "status": "string",      "sendable": true,      "components": [        {}      ],      "error_message": "string",      "quality_score": "string",      "status_changed_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z"    }  ]}