Skip to main content
GET
/
v1
/
groups
Get Groups
curl --request GET \
  --url https://api.happenstance.ai/v1/groups \
  --header 'Authorization: Bearer <token>'
{
  "groups": [
    {
      "id": "<string>",
      "name": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Response

Successful Response

Response from GET /v1/groups - retrieving user's groups.

groups
GroupV1 · object[]
required

List of groups the user has access to