Skip to content

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: id and session-id
  • Requirement: the session must be connected (isConnected: true)

Parameters ​

ParameterInTypeRequiredDescription
idheaderstringYesid from Create Session.
session-idheaderstringYessessionId from Create Session.
channelIdpathstringYesChannel 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"
}
FieldTypeDescription
idstringChannel ID, starting with -100.
namestringChannel name.
usernamestringPublic channel username without @. Empty for private channels.
picturestringSmall channel photo as a data URI. May be empty.
isOwnerbooleantrue if you created or administer the channel.
createdstringThe 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.