Overview
The Users API allows you to create API users (users that won’t have UI access) and list users in your organization. API users can be created with or without Auth0 accounts, and must be assigned to at least one team.Create Users
Create one or more API users in bulk. Users must be assigned to at least one team. By default, API users are created without Auth0 accounts (isApiUser: true). Endpoint:POST /qsi/gather/users
- cURL
- JavaScript
- Python
CRITICAL: Every user MUST be assigned to at least one team. The
teamIds
array is REQUIRED and must contain at least one valid team ID. All teamIds
must belong to the organization from the API credential.List Users
List users in your organization. Optionally filter by team and include/exclude team associations. Endpoint:GET /qsi/gather/users
Filter users by team ID
Include team details in response (default: true)
- cURL
- JavaScript
- Python
Response with Team Details (includeTeams=true or omitted)
Response without Team Details (includeTeams=false)
API Users vs Regular Users
API Users (isApiUser: true):
- Created without Auth0 accounts by default
- Cannot access the UI/dashboard
- Used for API operations and attribution
- Set
createAuth0Account: false(or omit) when creating
isApiUser: false):
- Created with Auth0 accounts
- Can access the UI/dashboard
- Set
createAuth0Account: truewhen creating
API users are useful for tracking API operations and attributing actions to
specific users without requiring UI access. They must still be assigned to at
least one team.
Validation Rules
User-Team Association Requirements
- CRITICAL: Every user MUST be assigned to at least one team
- When creating users:
teamIdsarray is REQUIRED and must contain at least one valid team ID- All teamIds must belong to the organization from the API credential
- Returns 400 error if validation fails

