List WhatsApp templates
curl --request GET \
--url https://api.wavix.com/v1/whatsapp/senders/{number}/templates \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.wavix.com/v1/whatsapp/senders/{number}/templates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.wavix.com/v1/whatsapp/senders/{number}/templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.wavix.com/v1/whatsapp/senders/{number}/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;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.wavix.com/v1/whatsapp/senders/{number}/templates"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.wavix.com/v1/whatsapp/senders/{number}/templates")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.wavix.com/v1/whatsapp/senders/{number}/templates")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"templates": [
{
"uuid": "3a525ca2-6909-4c72-9399-905adf7f3a74",
"name": "order_shipped",
"language": "en_US",
"category": "utility",
"status": "approved",
"components": [
{
"type": "BODY",
"format": "TEXT",
"text": "Your order {{1}} has shipped.",
"example": {},
"buttons": [
{}
]
}
],
"created_at": "2026-01-10T09:00:00Z",
"quality_rating": "high",
"submitted_at": "2026-01-15T10:30:00Z"
}
]
}WhatsApp
List WhatsApp templates
Returns the WhatsApp templates registered for the sender identified by number.
GET
/
v1
/
whatsapp
/
senders
/
{number}
/
templates
List WhatsApp templates
curl --request GET \
--url https://api.wavix.com/v1/whatsapp/senders/{number}/templates \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.wavix.com/v1/whatsapp/senders/{number}/templates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.wavix.com/v1/whatsapp/senders/{number}/templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.wavix.com/v1/whatsapp/senders/{number}/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;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.wavix.com/v1/whatsapp/senders/{number}/templates"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.wavix.com/v1/whatsapp/senders/{number}/templates")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.wavix.com/v1/whatsapp/senders/{number}/templates")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"templates": [
{
"uuid": "3a525ca2-6909-4c72-9399-905adf7f3a74",
"name": "order_shipped",
"language": "en_US",
"category": "utility",
"status": "approved",
"components": [
{
"type": "BODY",
"format": "TEXT",
"text": "Your order {{1}} has shipped.",
"example": {},
"buttons": [
{}
]
}
],
"created_at": "2026-01-10T09:00:00Z",
"quality_rating": "high",
"submitted_at": "2026-01-15T10:30:00Z"
}
]
}Authorizations
Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.
Path Parameters
Sender's phone number, digits only.
Example:
"14155550100"
Response
The sender's WhatsApp templates.
Templates registered for the sender.
Show child attributes
Show child attributes
Was this page helpful?