Group Controller

Find Group By Remote JID

Changed on

Find group by remote JID

get/group/findGroupInfos/{instance}

Request

  • Base URL
    https://evolution-example
  • URL
    https://evolution-example/group/findGroupInfos/{instance}
  • Auth
    API key in header apikey

Path parameters

instancestring required

Name of the instance

Query parameters

groupJidstring required

Group remote JID

Response

Ok

idstring

The ID of the group.

subjectstring

The subject (name) of the group.

subjectOwnerstring

The ID of the user who set the subject.

subjectTimeinteger

The timestamp when the subject was set.

pictureUrlstring

URL of the group's profile picture.

sizeinteger

The number of participants in the group.

creationinteger

The timestamp when the group was created.

ownerstring

The ID of the group owner.

descstring

The description of the group.

descIdstring

The ID of the description message.

restrictboolean

Indicates if the group is restricted (only admins can send messages).

announceboolean

Indicates if the group is an announcement group (only admins can send messages).

Example response

{
  "id": "120363295648424210@g.us",
  "subject": "Example Group",
  "subjectOwner": "553198296801@s.whatsapp.net",
  "subjectTime": 1714769954,
  "pictureUrl": null,
  "size": 1,
  "creation": 1714769954,
  "owner": "553198296801@s.whatsapp.net",
  "desc": "optional",
  "descId": "BAE57E16498982ED",
  "restrict": false,
  "announce": false,
  "participants": [
    {
      "id": "553198296801@s.whatsapp.net",
      "admin": "superadmin"
    }
  ]
}

Changes

    • breaking

      the query request parameter groupJid became required

    • info

      api operation id findGroupByJid was added

    • info

      the endpoint scheme security ApiKeyAuth was added to the API

    • info

      api tag Group Controller added

    • info

      api tag Group removed

    • info

      api operation id findGroupByJid removed and replaced with

    • info

      the endpoint scheme security ApiKeyAuth was removed from the API

    • info

      api tag Group added

    • info

      api tag Group Controller removed

    • info

      the query request parameter groupJid became optional