English
Get Channel Detail
GET/channel/{channelId}Get the details of a single WhatsApp channel (newsletter) by its ID. The data has the same shape as one item from Get Channels, which is handy when you only need one channel.
Endpoint Details
- Base URL:
https://api-zawa.azickri.com - Headers:
idandsession-id - Requires: a connected session (
isConnected: true)
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | header | string | Yes | The id from Create Session. |
session-id | header | string | Yes | The sessionId from Create Session. |
channelId | path | string | Yes | Channel ID, e.g. 120363000000000000@newsletter. |
Example Request
bash
curl "https://api-zawa.azickri.com/channel/120363000000000000@newsletter" \
-H "id: YOUR_ID" \
-H "session-id: YOUR_SESSION_ID"javascript
import axios from 'axios';
const channelId = '120363000000000000@newsletter';
const response = await axios.get(`https://api-zawa.azickri.com/channel/${channelId}`, {
headers: {
'id': 'YOUR_ID',
'session-id': 'YOUR_SESSION_ID',
},
});
console.log(response.data);javascript
const channelId = '120363000000000000@newsletter';
const response = await fetch(`https://api-zawa.azickri.com/channel/${channelId}`, {
headers: {
'id': 'YOUR_ID',
'session-id': 'YOUR_SESSION_ID',
},
});
const data = await response.json();
console.log(data);Response
json
{
"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
// Channel not found
{
"statusCode": 500,
"message": "channel not found"
}
// Session isn't connected
{
"statusCode": 500,
"message": "session not connected"
}| Field | Type | Description |
|---|---|---|
id | string | Channel ID. |
name | string | Channel name. |
picture | string | URL of the channel's profile picture. |
isOwner | boolean | true if you own or administer the channel. |
created | string | When the channel was created (ISO 8601). |