WhatsApp Templates
Get a message template
Changed onRetrieves one WhatsApp message template by SignalWire ID or Meta template ID. Use it to inspect content and approval status for a known template; use List message templates to discover or filter templates, or Send a message after the template is approved.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Numbers.
Learn more about API scopes.
get/api/messaging/whatsapp/templates/{id}
Request
- Base URLhttps://{Your_Space_Name}.signalwire.com
- URLhttps://{Your_Space_Name}.signalwire.com/api/messaging/whatsapp/templates/{id}
- AuthHTTP basic
Path parameters
idstring required
The template ID — either the SignalWire ID (a UUID) or the Meta template ID (a numeric string). Both are accepted.
Response
The request has succeeded.
Example response
{
"name": "order_update",
"components": [
{
"type": "BODY"
}
],
"language": "en_US",
"template_id": "1164792772433648",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z",
"discarded_at": "2024-01-15T10:30:00Z"
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking
Some revisions have not been checked yet.