cURL
curl --request GET \ --url https://api.zapsterapi.com/v1/wa/instances/{instance_id}/groups \ --header 'Authorization: Bearer <token>'
[ { "description": "My group description", "id": "120363279776130958", "invite_code": "XobOM8UBL8EXR3dXoGozql", "is_community": true, "is_announcement": true, "is_restricted": true, "approval_mode": "requires_approval", "name": "My group name", "owner": { "id": "558796139874", "name": "Owner Name", "profile_picture": "https://zapsterapi.s3.us-east-1.amazonaws.com/..." }, "profile_picture": "https://zapsterapi.s3.us-east-1.amazonaws.com/...", "total_participants": 2 } ]
Listar todos os grupos em que a instância participa
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
success
The response is of type object[].
object[]