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
User Object
Each object in theusers array contains:
Group Reference Object
Each object in a user’sgroups 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 users could not be retrieved due to a server error.Notes
Set
include_groups=true only when you need group memberships - the groups array is empty otherwise. Use total_count together with limit and offset to page through large result sets.Use Cases
This endpoint is useful for:- User directory sync - Mirror your organization’s users into an external system
- Role-based reporting - Filter users by role to audit access levels
- Group membership lookup - Retrieve which groups each user belongs to