v1

latestOpenAPI 3.1.02026-07-1413113265.9 KB
contact

get common groups with contact

Get list of groups that are in common between you and the specified contact

post/instances/{id}/client/action/get-common-groups

Path parameters

idinteger required

Instance ID

Request body

contactIdstring required

The ID of the contact

Example request

{
  "contactId": "1234567890@c.us"
}

Response

Successfully retrieved common groups

statusstring
instanceIdstring

Example response

{
  "status": "success",
  "instanceId": "1",
  "data": [
    {
      "server": "g.us",
      "user": "120363354333444555",
      "_serialized": "120363354333444555@g.us"
    }
  ]
}