Listar modelos de mensagem
curl --request GET \
--url https://api.wizebot.com.br/v1/whatsapp/templates \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.wizebot.com.br/v1/whatsapp/templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://api.wizebot.com.br/v1/whatsapp/templates';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://api.wizebot.com.br/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://api.wizebot.com.br/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;
}{
"success": true,
"data": {
"items": [
{
"id": "0b3d9f21-77aa-4c55-9e10-3f8b1c2d4e56",
"template_id": "1234567890123456",
"template_name": "confirmacao_pedido",
"template_type": "UTILITY",
"locale": "pt_BR",
"status": "APPROVED",
"template_json": [
{
"type": "BODY",
"text": "Olá {{1}}, seu pedido foi confirmado."
}
]
}
]
},
"timestamp": "2026-09-09T17:15:20.453Z"
}{
"success": false,
"statusCode": 401,
"timestamp": "2026-09-09T17:15:20.453Z",
"path": "/api/v1/whatsapp/templates",
"method": "GET",
"message": {
"error": "UNAUTHORIZED",
"message": "Invalid or missing API key."
},
"errorId": "ERR-MTUD0DBO-KKRMP8"
}{
"success": false,
"statusCode": 429,
"timestamp": "2026-09-09T17:15:20.453Z",
"path": "/api/v1/whatsapp/templates",
"method": "GET",
"message": {
"error": "RATE_LIMITED",
"message": "Too many requests."
},
"errorId": "ERR-MTUD0DBO-KKRMP8"
}WhatsApp · Mensagens
Listar modelos de mensagem
Modelos de mensagem da empresa. Os modelos valem para a empresa toda, e não por número: phone_number_id é aceito por compatibilidade e não altera o resultado.
Enviar modelo não faz parte desta API — a lista serve para conferência e para montar campanhas no painel.
GET
/
whatsapp
/
templates
Listar modelos de mensagem
curl --request GET \
--url https://api.wizebot.com.br/v1/whatsapp/templates \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.wizebot.com.br/v1/whatsapp/templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://api.wizebot.com.br/v1/whatsapp/templates';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://api.wizebot.com.br/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://api.wizebot.com.br/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;
}{
"success": true,
"data": {
"items": [
{
"id": "0b3d9f21-77aa-4c55-9e10-3f8b1c2d4e56",
"template_id": "1234567890123456",
"template_name": "confirmacao_pedido",
"template_type": "UTILITY",
"locale": "pt_BR",
"status": "APPROVED",
"template_json": [
{
"type": "BODY",
"text": "Olá {{1}}, seu pedido foi confirmado."
}
]
}
]
},
"timestamp": "2026-09-09T17:15:20.453Z"
}{
"success": false,
"statusCode": 401,
"timestamp": "2026-09-09T17:15:20.453Z",
"path": "/api/v1/whatsapp/templates",
"method": "GET",
"message": {
"error": "UNAUTHORIZED",
"message": "Invalid or missing API key."
},
"errorId": "ERR-MTUD0DBO-KKRMP8"
}{
"success": false,
"statusCode": 429,
"timestamp": "2026-09-09T17:15:20.453Z",
"path": "/api/v1/whatsapp/templates",
"method": "GET",
"message": {
"error": "RATE_LIMITED",
"message": "Too many requests."
},
"errorId": "ERR-MTUD0DBO-KKRMP8"
}Authorizations
Chave de API no cabeçalho Authorization: Bearer SUA-CHAVE.
A API também aceita x-api-key: SUA-CHAVE e Authorization: ApiKey SUA-CHAVE — as três formas são equivalentes, inclusive para o limite de requisições.
A chave dá acesso total à conta e é de servidor para servidor: não a use em navegador ou aplicativo móvel.
Query Parameters
Aceito por compatibilidade; os modelos são da empresa inteira.

