v1

latestOpenAPI 3.1.02026-07-1413113265.9 KB
group

get group participants

Get group participants

post/instances/{id}/client/action/get-group-participants

Path parameters

idinteger required

Instance ID

Request body

chatIdstring required

Example request

{
  "chatId": "123456789@g.us"
}

Response

status'success' | 'error'

Example response

{
  "data": {
    "participants": [
      {
        "id": {
          "server": "@c.us",
          "user": "<xxxxxxx>",
          "_serialized": "<xxxxxxx>@c.us"
        },
        "isAdmin": true,
        "isSuperAdmin": true
      }
    ]
  },
  "links": {
    "self": "https://waapi.app/api/v1/instances/1/client/action/get-group-participants"
  },
  "status": "success"
}