List WhatsApp templates

GET
/v1/channels/whatsapp/templates

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.

Authorization

apiKey
headerAuthorizationBearer <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.

Query Parameters

bindingId*string

The WhatsApp sender to read templates for (from GET /v1/channels).

Formatuuid

Response Body

The sender's approved templates (read only; sending templates is not available yet)

application/json
  1. response
templates*array<>
Example Request
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"      ]    }  ]}