v1
latestOpenAPI 3.0.32026-08-064799140.5 KBList users
Returns a list of project users.
The list supports pagination and sorting:
- The sort parameter only supports the created field (use created for ascending, -created for descending).
- Users can be filtered by:
- Single user ID using userID
- Multiple user IDs using userIDs (max 1000)
- Multiple WebAuthn IDs using webauthnIDs (max 1000)
- Single identifier using identifierValue and identifierType together
- Multiple identifiers using identifierValues and identifierType together (max 1000)
Filtering rules:
- Only one filter type can be used at a time: userID, userIDs, webauthnIDs, or identifier filters
- userID and userIDs are mutually exclusive
- identifierValue and identifierValues are mutually exclusive
- When filtering by identifier(s), identifierType must be provided
Query parameters
Filter by specific user ID (format usr-<number>). Cannot be used together with userIDs.
Filter by multiple user IDs (comma-separated). Cannot be used together with userID, webauthnIDs, or identifier filters. Maximum 1000 IDs.
[ "usr-4693224802260150919", "usr-1234567890123456789" ]
Filter by user IDs matching the given pattern. Supports % as a wildcard character. Cannot be used together with other filter types.
Filter by multiple WebAuthn IDs (comma-separated). Cannot be used together with other filter types. Maximum 1000 IDs.
[ "abc123def456", "xyz789ghi012" ]
Filter by identifier value (email, phone, or username). Must be used together with identifierType. Cannot be used together with identifierValues.
Filter by multiple identifier values (comma-separated). Must be used together with identifierType. Cannot be used together with identifierValue. Maximum 1000 values.
[ "jane@doe.com", "john@example.com" ]
Type of identifier to filter by. Must be used together with identifierValue or identifierValues.
Filter by user status.
Sort field. Only created is supported.
- Use +created for ascending order
- Use -created for descending order
Whether to include login identifiers in the response. Defaults to true.
The page number to retrieve for paginated results.
The number of items to return per page. Useful for pagination.
Response
List of users.
Example response
{
"users": [
{
"userID": "usr-4693224802260150919",
"fullName": "Jane Doe",
"emailIdentifiers": [
{
"identifierID": "ide-4693224802260150919",
"value": "jane@doe.com",
"userID": "usr-4693224802260150919"
}
],
"phoneNumberIdentifiers": [
{
"identifierID": "ide-4693224802260150919",
"value": "jane@doe.com",
"userID": "usr-4693224802260150919"
}
],
"usernameIdentifiers": [
{
"identifierID": "ide-4693224802260150919",
"value": "jane@doe.com",
"userID": "usr-4693224802260150919"
}
],
"socialAccounts": [
{
"socialAccountID": "soc-6060375336139150919",
"providerType": "github",
"identifierValue": "jane@doe.com",
"userID": "usr-4693224802260150919",
"foreignID": "53150919",
"avatarURL": "https://avatars.githubusercontent.com/u/53150919?v=4",
"fullName": "Jane Doe"
}
]
}
]
}