GET
/
wa
/
instances
/
{instance_id}
/
groups
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": "BobOM8UXL8EDR3dXoKozql",
    "is_announcement": true,
    "is_restricted": true,
    "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/instances/i-7360mtucxawrpqwxxfll1/profile-pictures/hrs9ncawv3r7euulclfk684dfq9vgi7r.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIAV6PM7KXCEFS4IW3T%2F20240526%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240526T235811Z&X-Amz-Expires=86400&X-Amz-Signature=dba5db50b719f5e9454ab8e9fac479c3d6dfa712842886d2da20c36595aab1dc&X-Amz-SignedHeaders=host&x-id=GetObject",
    "total_participants": 2
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

instance_id
string
required

Response

200
application/json

success

The response is of type object[].