GET
/
groups
curl --request GET \
  --url https://api.crunchz.app/api/groups \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>",
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "created_at": "<string>",
      "owner": "<string>",
      "restricted": true,
      "is_community": true,
      "is_owner": true,
      "actions": {
        "join_approval": true,
        "can_add_member": true
      },
      "participant_count": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

GroupsCollection

The response is of type object.