Skip to main content

Endpoint

Authentication

This endpoint requires an OAuth access token. Send it as a bearer token:
Required scope: users:read

Query Parameters

Request Example

Response

Success Response

Status Code: 200 OK

Response Fields

Group Object

Each object in the groups array contains:

Error Responses

400 Bad Request

Returned when the access token has no user behind it. client_credentials tokens act as the admin who created the application, so this applies only to tokens issued before application creators were recorded.

401 Unauthorized

Returned when the access token is missing, unknown, revoked, or expired, or when an X-API-Key was sent instead of a bearer token. See OAuth error responses.

403 Forbidden

Returned when the token does not carry the required scope.

404 Not Found

Returned when the organization cannot be found.

422 Unprocessable Entity

Returned when a query parameter fails validation (for example, limit outside the 1250 range or a non-numeric offset).

429 Too Many Requests

Returned when your organization exceeds its per-minute request limit.

500 Internal Server Error

Returned when the groups could not be retrieved due to a server error.

Notes

Use total_count together with limit and offset to page through large result sets. The member_user_ids array maps directly to the user_id values returned by GET /v2/users.
The group directory is organization-wide - results are not narrowed to the groups the access token’s user belongs to.

Use Cases

This endpoint is useful for:
  • Group directory sync - Mirror your organization’s groups into an external system
  • Membership auditing - Review which users belong to each group
  • Access mapping - Resolve group memberships to user identifiers