English
Get Group Detail
GET/group/{groupId}Get the details of one group you're in. groupId can be an ID from Get Groups, or a public group'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. |
groupId | path | string | Yes | Group ID, like -1001234567890, or a public group's username. |
Example Request
bash
curl "https://api-zate.azickri.com/group/-1001234567890" \
-H "id: YOUR_ID" \
-H "session-id: YOUR_SESSION_ID"javascript
import axios from 'axios';
const groupId = '-1001234567890';
const response = await axios.get(`https://api-zate.azickri.com/group/${groupId}`, {
headers: {
'id': 'YOUR_ID',
'session-id': 'YOUR_SESSION_ID',
},
});
console.log(response.data);javascript
const groupId = '-1001234567890';
const response = await fetch(`https://api-zate.azickri.com/group/${groupId}`, {
headers: {
'id': 'YOUR_ID',
'session-id': 'YOUR_SESSION_ID',
},
});
const data = await response.json();
console.log(data);Response
json
{
"id": "-1001234567890",
"name": "Zate Community",
"username": "komunitaszate",
"description": "A place for Zate users to hang out",
"picture": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQ...",
"created": "2025-06-07T15:15:51.000Z"
}json
// Not a group (a channel, for example), or one you haven't joined
{
"statusCode": 400,
"message": "group 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 | Group ID: -123... for basic groups, -100... for supergroups. |
name | string | Group name. |
username | string | Public group username without @. Empty for private and basic groups. |
description | string | Group description. Cached for 5 minutes. |
picture | string | Small group photo as a data URI. May be empty. |
created | string | The date your account joined the group (ISO 8601). |