# Get WhatsApp Templates

> List the approved WhatsApp message templates for a channel.

Developers · REST API

List the WhatsApp message templates associated with a channel.

**GET** `/stable/open/whatsapp/get-template-list`

Base URL: `https://api.myalice.ai`. Authenticate with the `X-Myalice-Api-Key`
header.

## Query parameters

**`platform_id` (integer) — required**

The ID of the WhatsApp channel (platform). Find it in the Revora dashboard or
via [Get WhatsApp Channels](/docs/developers/rest-api/get-whatsapp-channels).

## Response

Returns an array of template objects (`id`, `name`, `body`, `header`, `footer`,
`buttons`, `attributes`).

## Example

```bash cURL
curl -X GET "https://api.myalice.ai/stable/open/whatsapp/get-template-list?platform_id=1022" \
  -H "X-Myalice-Api-Key: YOUR_API_KEY"
```

```json Response
[
  {
    "id": 102323213,
    "name": "submit_feedback",
    "body": "Hi {{1}}, please submit your feedback for our service",
    "header": { "type": "text", "value": "Submit Feedback" },
    "footer": "Powered by Revora",
    "buttons": [
      { "id": 1, "type": "url", "title": "Submit Feedback", "value": "https://example.com/feedback" }
    ],
    "attributes": [ { "attribute": "1" } ]
  }
]
```

---
HTML: https://userevora.com/docs/developers/rest-api/get-whatsapp-templates
