English
Get Channels
GET/channelGet the list of Telegram channels you follow, including channels you manage. The id from here works with Get Channel Detail, Get Channel Messages, or the channel field in Send Message.
Only channels (one-way broadcasts) show up here. Supergroups and basic groups are in Get Groups.
Endpoint Details
- Base URL:
https://api-zate.azickri.com - Headers:
idandsession-id - Requirement: the session must be connected (
isConnected: true)
Headers
| Header | Type | Required | Description |
|---|---|---|---|
id | string | Yes | id from Create Session. |
session-id | string | Yes | sessionId from Create Session. |
Example Request
bash
curl "https://api-zate.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-zate.azickri.com/channel', {
headers: {
'id': 'YOUR_ID',
'session-id': 'YOUR_SESSION_ID',
},
});
console.log(response.data);javascript
const response = await fetch('https://api-zate.azickri.com/channel', {
headers: {
'id': 'YOUR_ID',
'session-id': 'YOUR_SESSION_ID',
},
});
const data = await response.json();
console.log(data);Response
json
{
"docs": [
{
"id": "-1001234567890",
"name": "Cak Zate's Sate News",
"username": "infosatecakzate",
"picture": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQ...",
"isOwner": true,
"created": "2025-06-07T15:15:51.000Z"
},
{
"id": "-1009876543210",
"name": "Late Night Food Club",
"username": "",
"picture": "",
"isOwner": false,
"created": "2025-03-02T09:20:11.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 | List of channels. |
docs[].id | string | Channel ID, starting with -100. |
docs[].name | string | Channel name. |
docs[].username | string | Public channel username without @. Empty for private channels. |
docs[].picture | string | Small channel photo as a data URI. May be empty. |
docs[].isOwner | boolean | true if you created or administer the channel. |
docs[].created | string | The date your account joined the channel (ISO 8601). |
Want to post to a channel?
Look for isOwner: true. You can only send messages to channels you manage, and admins also need posting rights.