List organization users
Changed onReturns a paginated list of users in the Factory organization. Role and status are only included when includeRole=true or includeStatus=true (one shared WorkOS membership read, skipped when neither flag is true), and directory-synced groups only when includeGroups=true (the Firestore profile read is skipped without it).
Request
- Base URLhttps://api.factory.ai
- AuthHTTP bearer
Query parameters
Maximum number of items to return (1-100)
Cursor for pagination
Include each user membership role in the response; the WorkOS membership roster is read when either includeRole or includeStatus is true
Include each user membership status in the response; the WorkOS membership roster is read when either includeRole or includeStatus is true
Include each user directory-synced group IDs in the response; otherwise the Firestore user profiles are not read
Headers
Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.
Response
Response for status 200
List of users
Changes
- info
added the new optional
queryrequest parameterincludeGroups - info
added the new optional
queryrequest parameterincludeRole - info
added the new optional
queryrequest parameterincludeStatus
- info