List message templates
Lists the project’s reusable WhatsApp message templates. Use it to find an approved template before sending business-initiated messages; a template must have template_status of approved before use. Use Get a message template when you already have its SignalWire or Meta ID.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Numbers.
Authentication
AuthorizationBasic
SignalWire Basic Authentication using Project ID and API Token.
The client sends HTTP requests with the Authorization header containing the word Basic followed by a space and a base64-encoded string of project_id:token. The project ID will be used as the username and the API token as the password.
Example:
Authorization: Basic base64(project_id:token)
Query parameters
whatsapp_business_id
Filter to templates belonging to a specific WhatsApp Business Account.
status
Filter by approval status.
Response
The request has succeeded.
data
List of message templates.
Errors
400
Bad Request Error
500
Internal Server Error