Skip to content

Get Channels ​

GET /channel

List 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: id and session-id
  • Requires: a connected session (isConnected: true)

Headers ​

HeaderTypeRequiredDescription
idstringYesThe id from Create Session.
session-idstringYesThe 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"
}
FieldTypeDescription
docsarrayThe list of channels.
docs[].idstringChannel ID, formatted as ...@newsletter.
docs[].namestringChannel name.
docs[].picturestringURL of the channel's profile picture.
docs[].isOwnerbooleantrue if you own or administer the channel. These are the only channels you can send messages to.
docs[].createdstringWhen the channel was created (ISO 8601).