List WhatsApp templates
GET
Returns the message templates Meta has approved for one of your WhatsApp senders, with their variables. Read only: sending templates is not available yet, so outside WhatsApp's 24-hour window you cannot message a person until they write to you again.
Requires an API key with the channels:read scope.
apiKeyheader
AuthorizationBearer <token>A secret API key from the dashboard (Developers → API keys): vl_live_…, or vl_test_… for test mode. Each operation says which scope the key needs.
bindingId*stringThe WhatsApp sender to read templates for (from GET /v1/channels).
Format
uuidThe sender's approved templates (read only; sending templates is not available yet)
application/json- response
templates*array<>curl "https://api.vlayers.ai/v1/channels/whatsapp/templates?bindingId=$BINDING_ID" \ -H "Authorization: Bearer $VOICELAYER_API_KEY"Example Response
{ "templates": [ { "name": "order_ready", "language": "en_US", "category": "UTILITY", "status": "APPROVED", "variables": [ "1" ] } ]}