Endpoint
Authentication
This endpoint requires authentication via API key. Include your API key in theX-API-Key header:
Query Parameters
Request Example
Response
Success Response
Status Code:200 OK
Response Fields
Group Object
Each object in thegroups array contains:
Error Responses
401 Unauthorized
Returned when authentication fails. See the authentication errors section for details.404 Not Found
Returned when the organization associated with the API key cannot be found.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 /users.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