English
Get Channels
GET/channelList the WhatsApp channels (newsletters) your number follows or manages. Use the id from here with Get Channel Detail, Get Channel Messages, or to send to a channel through the newsletter field in Send Message.
Endpoint Details
- Base URL:
https://api-zawa.azickri.com - Headers:
idandsession-id - Requires: a connected session (
isConnected: true)
Headers
| Header | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The id from Create Session. |
session-id | string | Yes | The sessionId from Create Session. |
Example Request
bash
curl "https://api-zawa.azickri.com/channel" \
-H "id: YOUR_ID" \
-H "session-id: YOUR_SESSION_ID"javascript
import axios from 'axios';
const response = await axios.get('https://api-zawa.azickri.com/channel', {
headers: {
'id': 'YOUR_ID',
'session-id': 'YOUR_SESSION_ID',
},
});
console.log(response.data);javascript
const response = await fetch('https://api-zawa.azickri.com/channel', {
headers: {
'id': 'YOUR_ID',
'session-id': 'YOUR_SESSION_ID',
},
});
const data = await response.json();
console.log(data);Response
json
{
"docs": [
{
"id": "120363000000000000@newsletter",
"name": "Zawa Updates",
"picture": "https://pps.whatsapp.net/v/t61.24694-24/...",
"isOwner": true,
"created": "2025-06-07T15:15:51.000Z"
}
]
}json
{
"statusCode": 400,
"message": "invalid header"
}json
{
"statusCode": 404,
"message": "session not found"
}json
{
"statusCode": 500,
"message": "session not connected"
}| Field | Type | Description |
|---|---|---|
docs | array | The list of channels. |
docs[].id | string | Channel ID, formatted as ...@newsletter. |
docs[].name | string | Channel name. |
docs[].picture | string | URL of the channel's profile picture. |
docs[].isOwner | boolean | true if you own or administer the channel. These are the only channels you can send messages to. |
docs[].created | string | When the channel was created (ISO 8601). |