List platform users
GET
/api/v1/users
const url = 'https://localhost:8080/api/v1/users';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://localhost:8080/api/v1/users \ --header 'Authorization: <Authorization>'Return a paginated list of platform users, optionally filtered by active status; restricted to organization owners
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” limit
integer
Number of users to return (default: 100, max: 500)
offset
integer
Number of users to skip
active
boolean
Filter by active status
Responses
Section titled “ Responses ”List of users
Media type application/json
object
pagination
object
limit
integer
offset
integer
total
integer
users
Array<object>
object
active
boolean
createdAt
string
displayName
string
email
string
emailVerified
boolean
familyName
string
givenName
string
id
string
isServiceAccount
boolean
pictureUrl
string
username
string
Example generated
{ "pagination": { "limit": 1, "offset": 1 }, "total": 1, "users": [ { "active": true, "createdAt": "example", "displayName": "example", "email": "example", "emailVerified": true, "familyName": "example", "givenName": "example", "id": "example", "isServiceAccount": true, "pictureUrl": "example", "username": "example" } ]}Bad request - Invalid active filter
Media type application/json
object
error
string
error_description
string
Example
{ "error": "Unauthorized", "error_description": "Invalid token"}Unauthorized
Media type application/json
object
error
string
error_description
string
Example
{ "error": "Unauthorized", "error_description": "Invalid token"}Forbidden - requires Organization Owner role
Media type application/json
object
error
string
error_description
string
Example
{ "error": "Unauthorized", "error_description": "Invalid token"}Internal server error
Media type application/json
object
error
string
error_description
string
Example
{ "error": "Unauthorized", "error_description": "Invalid token"}