List WhatsApp templates
Your templates on the number you send from, with their review status and the variables each one needs.
Scope: whatsapp:send.
pending means Meta is reviewing it; in_review means it’s waiting for Messaly’s review (shared number only). Only approved templates can be sent.
GET
/
whatsapp
/
templates
List WhatsApp templates
curl --request GET \
--url https://app.telaven.com/api/v1/whatsapp/templates \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.telaven.com/api/v1/whatsapp/templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.telaven.com/api/v1/whatsapp/templates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.telaven.com/api/v1/whatsapp/templates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}using RestSharp;
var options = new RestClientOptions("https://app.telaven.com/api/v1/whatsapp/templates");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
{
"number": {
"kind": "own",
"phone": "+254 712 345678"
},
"syncError": null,
"data": [
{
"id": "7d2c…",
"name": "order_ready",
"displayName": "order_ready",
"language": "en",
"category": "utility",
"status": "approved",
"rejectionReason": null,
"parameterFormat": "positional",
"components": {
"header": {
"format": "IMAGE"
},
"body": {
"text": "Hi {{1}}, order {{2}} is ready for pickup."
},
"footer": "Reply STOP to opt out",
"buttons": [
{
"type": "URL",
"text": "Track order",
"url": "https://shop.example.com/o/{{1}}"
}
]
},
"variables": {
"body": [
"1",
"2"
],
"header": [],
"mediaHeader": "IMAGE",
"buttons": [
{
"index": 0,
"vars": [
"1"
]
}
]
},
"numberKind": "own",
"updatedAt": "2026-11-12T09:30:01.000Z"
}
]
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}Query Parameters
Response
Success
⌘I
List WhatsApp templates
curl --request GET \
--url https://app.telaven.com/api/v1/whatsapp/templates \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.telaven.com/api/v1/whatsapp/templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.telaven.com/api/v1/whatsapp/templates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.telaven.com/api/v1/whatsapp/templates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}using RestSharp;
var options = new RestClientOptions("https://app.telaven.com/api/v1/whatsapp/templates");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
{
"number": {
"kind": "own",
"phone": "+254 712 345678"
},
"syncError": null,
"data": [
{
"id": "7d2c…",
"name": "order_ready",
"displayName": "order_ready",
"language": "en",
"category": "utility",
"status": "approved",
"rejectionReason": null,
"parameterFormat": "positional",
"components": {
"header": {
"format": "IMAGE"
},
"body": {
"text": "Hi {{1}}, order {{2}} is ready for pickup."
},
"footer": "Reply STOP to opt out",
"buttons": [
{
"type": "URL",
"text": "Track order",
"url": "https://shop.example.com/o/{{1}}"
}
]
},
"variables": {
"body": [
"1",
"2"
],
"header": [],
"mediaHeader": "IMAGE",
"buttons": [
{
"index": 0,
"vars": [
"1"
]
}
]
},
"numberKind": "own",
"updatedAt": "2026-11-12T09:30:01.000Z"
}
]
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}