Skip to main content
GET
/
api
/
{session}
/
groups
/
{id}
Get group
curl --request GET \
  --url https://{host}/api/{session}/groups/{id} \
  --header 'apikey: <api-key>'
{
  "id": "120363XXXXX@g.us",
  "subject": "My Group",
  "creation": 1234567890,
  "participants": [
    {
      "id": "5511999999999@s.whatsapp.net",
      "isAdmin": true
    }
  ]
}

Description

This endpoint returns detailed information of a specific group.

URL Parameters

session
string
required
WhatsApp unique session ID
id
string
required
Group ID in format 120363XXXXX@g.us

Response

id
string
ID of the group
subject
string
Name/subject of the group
participants
array
Array of participants of the group
{
  "id": "120363XXXXX@g.us",
  "subject": "My Group",
  "creation": 1234567890,
  "participants": [
    {
      "id": "5511999999999@s.whatsapp.net",
      "isAdmin": true
    }
  ]
}

Status Codes

  • 200 - Group returned successfully
  • 400 - Invalid parameters
  • 401 - Unauthorized
  • 404 - Group not found

Usage Example

curl -X GET https://api.wappfy.com.br/api/my-session/groups/120363XXXXX@g.us

Authorizations

apikey
string
header
required

Your Wappfy API key (get it at dash.wappfy.com.br)

Path Parameters

id
string
required

ID do Grupo

I