English
Get Group Detail
GET/group/{groupId}Get the details of a single WhatsApp group by its ID. The data has the same shape as one item from Get Groups, but it's much faster because only one group is fetched.
Endpoint Details
- Base URL:
https://api-zawa.azickri.com - Headers:
idandsession-id - Requires: a connected session (
isConnected: true)
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | header | string | Yes | The id from Create Session. |
session-id | header | string | Yes | The sessionId from Create Session. |
groupId | path | string | Yes | Group ID, e.g. [email protected]. |
Example Request
bash
curl "https://api-zawa.azickri.com/group/[email protected]" \
-H "id: YOUR_ID" \
-H "session-id: YOUR_SESSION_ID"javascript
import axios from 'axios';
const groupId = '[email protected]';
const response = await axios.get(`https://api-zawa.azickri.com/group/${groupId}`, {
headers: {
'id': 'YOUR_ID',
'session-id': 'YOUR_SESSION_ID',
},
});
console.log(response.data);javascript
const groupId = '[email protected]';
const response = await fetch(`https://api-zawa.azickri.com/group/${groupId}`, {
headers: {
'id': 'YOUR_ID',
'session-id': 'YOUR_SESSION_ID',
},
});
const data = await response.json();
console.log(data);Response
json
{
"id": "[email protected]",
"name": "Zawa Community",
"description": "A place for Zawa users to hang out",
"picture": "https://pps.whatsapp.net/v/t61.24694-24/...",
"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"
}| Field | Type | Description |
|---|---|---|
id | string | Group ID. |
name | string | Group name. |
description | string | Group description. Empty if there isn't one. |
picture | string | URL of the group picture. Empty if the group has no picture. |
created | string | null | When the group was created (ISO 8601). |