GET
/api/groups/{groupJid}/metadata
Retrieves metadata for a specific group (e.g., subject, description, creation date, owner).
Get Group Metadata
Retrieves metadata for a specific group (e.g., subject, description, creation date, owner).
Parameters
Name | Type | Required | Description |
---|---|---|---|
groupJid | string | Yes | The JID (Jabber ID) of the group in the format 123456789-987654321@g.us. |
Code Examples
curl "https://www.wasenderapi.com/api/groups/{groupJid}/metadata"
-H "Authorization: Bearer YOUR_API_KEY"
Response Examples
{
"success": true,
"data": {
"jid": "123456789-987654321@g.us",
"subject": "Group Subject",
"creation": 1678886400,
"owner": "owner_id",
"desc": "Group Description",
"participants": [
{
"jid": "123456789",
"isAdmin": true,
"isSuperAdmin": false
},
{
"jid": "participant2",
"isAdmin": false,
"isSuperAdmin": false
}
]
}
}