Metadados do canal
curl --request GET \
--url https://api.wabox.me/instances/{instance_id}/token/{token}/newsletters/{id}const options = {method: 'GET'};
fetch('https://api.wabox.me/instances/{instance_id}/token/{token}/newsletters/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wabox.me/instances/{instance_id}/token/{token}/newsletters/{id}"
response = requests.get(url)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.wabox.me/instances/{instance_id}/token/{token}/newsletters/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.wabox.me/instances/{instance_id}/token/{token}/newsletters/{id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"id": "120363999999999999@newsletter",
"name": "Canal Wabox",
"description": "Novidades da API",
"invite_code": "0029VaAbCdEfGhIjKlMn1o",
"invite_url": "https://whatsapp.com/channel/0029VaAbCdEfGhIjKlMn1o",
"subscriber_count": 1234,
"verified": false,
"state": "active",
"picture_url": "https://pps.whatsapp.net/v/t61.24694-24/abc.jpg",
"role": "owner",
"muted": false,
"created_at": "2026-06-01T10:00:00.000Z",
"reactions_mode": "all"
}{
"error": {
"code": "instance_not_found",
"message": "Instance not found or invalid token"
}
}{
"error": {
"code": "subscription_required",
"message": "Trial expired or subscription inactive. Subscribe in the dashboard to keep sending."
}
}{
"error": {
"code": "instance_not_connected",
"message": "Instance is not connected"
}
}Metadados do canal
Id do canal como devolvido pela API / webhooks: <id>@newsletter. Para publicar em um canal seu, use qualquer endpoint send-* com phone: "<id>@newsletter". Imediata: exige a instância conectada (caso contrário, 409 instance_not_connected).
GET
/
instances
/
{instance_id}
/
token
/
{token}
/
newsletters
/
{id}
Metadados do canal
curl --request GET \
--url https://api.wabox.me/instances/{instance_id}/token/{token}/newsletters/{id}const options = {method: 'GET'};
fetch('https://api.wabox.me/instances/{instance_id}/token/{token}/newsletters/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wabox.me/instances/{instance_id}/token/{token}/newsletters/{id}"
response = requests.get(url)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.wabox.me/instances/{instance_id}/token/{token}/newsletters/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.wabox.me/instances/{instance_id}/token/{token}/newsletters/{id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"id": "120363999999999999@newsletter",
"name": "Canal Wabox",
"description": "Novidades da API",
"invite_code": "0029VaAbCdEfGhIjKlMn1o",
"invite_url": "https://whatsapp.com/channel/0029VaAbCdEfGhIjKlMn1o",
"subscriber_count": 1234,
"verified": false,
"state": "active",
"picture_url": "https://pps.whatsapp.net/v/t61.24694-24/abc.jpg",
"role": "owner",
"muted": false,
"created_at": "2026-06-01T10:00:00.000Z",
"reactions_mode": "all"
}{
"error": {
"code": "instance_not_found",
"message": "Instance not found or invalid token"
}
}{
"error": {
"code": "subscription_required",
"message": "Trial expired or subscription inactive. Subscribe in the dashboard to keep sending."
}
}{
"error": {
"code": "instance_not_connected",
"message": "Instance is not connected"
}
}