English
Get Channel Detail
GET/channel/{channelId}Get the details of one channel you follow. channelId can be an ID from Get Channels, or a public channel's username.
Endpoint Details
- Base URL:
https://api-zate.azickri.com - Headers:
idandsession-id - Requirement: the session must be connected (
isConnected: true)
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | header | string | Yes | id from Create Session. |
session-id | header | string | Yes | sessionId from Create Session. |
channelId | path | string | Yes | Channel ID, like -1001234567890, or a public channel's username, like telegram. |
Example Request
bash
curl "https://api-zate.azickri.com/channel/-1001234567890" \
-H "id: YOUR_ID" \
-H "session-id: YOUR_SESSION_ID"javascript
import axios from 'axios';
const channelId = '-1001234567890';
const response = await axios.get(`https://api-zate.azickri.com/channel/${channelId}`, {
headers: {
'id': 'YOUR_ID',
'session-id': 'YOUR_SESSION_ID',
},
});
console.log(response.data);javascript
const channelId = '-1001234567890';
const response = await fetch(`https://api-zate.azickri.com/channel/${channelId}`, {
headers: {
'id': 'YOUR_ID',
'session-id': 'YOUR_SESSION_ID',
},
});
const data = await response.json();
console.log(data);Response
json
{
"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"
}json
// Not a channel (a group, for example), or one you haven't joined
{
"statusCode": 400,
"message": "channel not found"
}
// Username or ID not found
{
"statusCode": 400,
"message": "chat not found"
}json
{
"statusCode": 404,
"message": "session not found"
}json
{
"statusCode": 500,
"message": "session not connected"
}| Field | Type | Description |
|---|---|---|
id | string | Channel ID, starting with -100. |
name | string | Channel name. |
username | string | Public channel username without @. Empty for private channels. |
picture | string | Small channel photo as a data URI. May be empty. |
isOwner | boolean | true if you created or administer the channel. |
created | string | The date your account joined the channel (ISO 8601). |
You have to join first
Zate only returns channels your account follows. A public channel's username you haven't joined still gets 400 channel not found, so join it from Telegram first.