Skip to content
Oclavex is in private preview, open to existing MonetizeIt users. New users who would like to evaluate Oclavex before the public launch can request access at info@revenusion.com.

List organization users

GET
/api/v1/identity/admin/organizations/{organizationId}/users
curl --request GET \
--url 'https://example.com/api/v1/identity/admin/organizations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/users?pageSize=20&includeTotal=false' \
--header 'Authorization: Bearer <token>'

Lists the organization’s registered users: those whose memberships include it, paged, searchable and sortable like the users list. Sharing the organization’s email domain does not make a user a member.

  • oidc
    organization.organization.read
organizationId
required
string format: uuid

The organization.

pageSize
integer format: int32
default: 20 >= 1 <= 100

The number of items per page: 20 when omitted, at most 100.

pageToken
string

The nextPageToken of the previous page; omit it for the first page.

includeTotal
boolean

Whether the response carries totalCount, the size of the filtered list.

sortOrder
string

Sort expression; a field prefixed with - sorts descending.

filter
string

Filter expression of field-operator-value clauses.

X-Correlation-Id
string

An id of your own for the call. The answer returns it in the same header, and the server log carries it; when you send none, the server makes one.

OK

Media typeapplication/json

One page of a list endpoint: { items, nextPageToken, totalCount }. A list pages with an opaque cursor: pass NextPageToken back unchanged as the next request’s pageToken, with the same filter, sort and page size, until it is null. PageFollower does that for you.

object
items
required

The items on this page. A page may hold fewer items than the page size and still have a next page.

Array<object>

A user in the account directory: identity fields, access flags, profile, and preferences.

object
id
string format: uuid
subject

The identity provider’s subject claim for this user (for devices, the machine token’s subject).

string
email
string
userType

The kind of principal a directory user represents. Device rows are machine principals (client-credentials identities enrolled for licensing): their Subject is the machine token’s subject, they need no email and never log in interactively.

Allowed values: Consumer Device Admin
lastSignedInAt

When the user last signed in; null when the user never has.

null | string format: date-time
createdAt

When the user was created.

string format: date-time
roles

The user’s role names, in lower case.

Array<string>
userProfile

A user’s display profile (name fields and country).

object
firstName
string
lastName
string
displayName
string
country
string
organizations

The organizations the user belongs to; empty when the user belongs to none, which is common.

Array<object>

A customer organization in the account directory, with its profile, contacts, billing info, members, and optional parent organization.

object
createdAt

When the organization was created.

string format: date-time
id
string format: uuid
name
string
organizationType

What kind of organization this is.

Allowed values: Company Department Team
externalReference
string
emailDomain
string
webUrl
string
address
string
city
string
country
string
phoneNumber
string
companyInfo
string
parentId
null | string format: uuid
members
Array<object> recursive
contacts
Array<object>

A contact person of an organization (e.g. billing or technical contact).

object
type
string
firstName
string
lastName
string
email
string
phoneNumber
string
companyRole
string
billingInfo

Billing details of an organization: the registered legal entity, its structured invoice address, tax registration, and the currency it is invoiced in. This is customer master data for handoff to an external billing provider — no invoice is issued from here.

object
legalName

Registered entity name, which often differs from the trading name in Name.

null | string
billingEmail
string
billingPhoneNumber
string
billingReference
string
billingAddressLine1
null | string
billingAddressLine2
null | string
billingPostalCode
null | string
billingCity
null | string
billingStateOrProvince
null | string
billingCountryCode

ISO 3166-1 alpha-2. Normalized server-side; input that resolves to no country is stored as null.

null | string
companyNumber
string
vatNumber

EU VAT registration number. Tax identity elsewhere goes in TaxIdScheme/TaxId.

string
taxIdScheme

Open vocabulary, uppercased server-side: “EIN”, “ABN”, “GSTIN”, “CNPJ”, …

null | string
taxId
null | string
taxExemptionStatus
One of:
null
taxExemptionReference

Exemption certificate identifier backing a non-None TaxExemptionStatus.

null | string
billingCurrency

ISO 4217, 3 letters — the currency the customer is invoiced in.

null | string
rowVersion

The stored row’s version. Send it back on an update or patch to have the edit refused with 409 Conflict when someone else changed the organization first. Null when the read did not carry it.

null | integer format: uint32
allowResourcePassword
boolean
isApproved
boolean
isBlocked
boolean
isDeleted
boolean
nextPageToken
required

The token that requests the next page, or null on the last page. Opaque: pass it back unchanged, never build or read one.

null | string
totalCount
required

The size of the whole filtered list, or null unless the request asked for it with includeTotal=true.

null | integer format: int32
Example
{
"items": [
{
"userType": "Consumer",
"organizations": [
{
"organizationType": "Company",
"billingInfo": {
"taxExemptionStatus": "None"
}
}
]
}
]
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

The request is not valid: a body or a parameter that fails validation, or a page token that is not valid. The errors member names the fields.

Media typeapplication/problem+json

The body of every failed call, served as application/problem+json (RFC 9457) with the members the platform adds: a numeric code, a codeName and a traceId.

object
type

A reference to the code’s entry on the error-codes page.

string
title

A short summary of the problem.

string
status
required

The HTTP status of the answer.

integer format: int32
detail

What went wrong in this call, in a sentence.

string
instance

The path of the call.

string
code
required

The stable numeric error code. The error-codes page lists them.

integer format: int32
codeName
required

The stable name of the error code, for example resource.not_found.

string
traceId
required

The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.

string
requires

The scope or condition the caller is missing, on a refusal that names one.

null | string
scope

The limiter that shed the call, on a 429.

null | string
errors

On a validation failure, the messages for each field, keyed by the field’s name.

null | object
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": 1,
"codeName": "example",
"traceId": "example",
"requires": "example",
"scope": "example",
"errors": "example"
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

The request carries no valid access token (auth.required).

Media typeapplication/problem+json

The body of every failed call, served as application/problem+json (RFC 9457) with the members the platform adds: a numeric code, a codeName and a traceId.

object
type

A reference to the code’s entry on the error-codes page.

string
title

A short summary of the problem.

string
status
required

The HTTP status of the answer.

integer format: int32
detail

What went wrong in this call, in a sentence.

string
instance

The path of the call.

string
code
required

The stable numeric error code. The error-codes page lists them.

integer format: int32
codeName
required

The stable name of the error code, for example resource.not_found.

string
traceId
required

The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.

string
requires

The scope or condition the caller is missing, on a refusal that names one.

null | string
scope

The limiter that shed the call, on a 429.

null | string
errors

On a validation failure, the messages for each field, keyed by the field’s name.

null | object
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": 1,
"codeName": "example",
"traceId": "example",
"requires": "example",
"scope": "example",
"errors": "example"
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

WWW-Authenticate
string

How to authenticate: the bearer challenge.

The caller may not make this call. The code and requires members say why: a missing scope, or a plan that does not include it.

Media typeapplication/problem+json

The body of every failed call, served as application/problem+json (RFC 9457) with the members the platform adds: a numeric code, a codeName and a traceId.

object
type

A reference to the code’s entry on the error-codes page.

string
title

A short summary of the problem.

string
status
required

The HTTP status of the answer.

integer format: int32
detail

What went wrong in this call, in a sentence.

string
instance

The path of the call.

string
code
required

The stable numeric error code. The error-codes page lists them.

integer format: int32
codeName
required

The stable name of the error code, for example resource.not_found.

string
traceId
required

The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.

string
requires

The scope or condition the caller is missing, on a refusal that names one.

null | string
scope

The limiter that shed the call, on a 429.

null | string
errors

On a validation failure, the messages for each field, keyed by the field’s name.

null | object
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": 1,
"codeName": "example",
"traceId": "example",
"requires": "example",
"scope": "example",
"errors": "example"
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

Not Found

Media typeapplication/problem+json

The body of every failed call, served as application/problem+json (RFC 9457) with the members the platform adds: a numeric code, a codeName and a traceId.

object
type

A reference to the code’s entry on the error-codes page.

string
title

A short summary of the problem.

string
status
required

The HTTP status of the answer.

integer format: int32
detail

What went wrong in this call, in a sentence.

string
instance

The path of the call.

string
code
required

The stable numeric error code. The error-codes page lists them.

integer format: int32
codeName
required

The stable name of the error code, for example resource.not_found.

string
traceId
required

The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.

string
requires

The scope or condition the caller is missing, on a refusal that names one.

null | string
scope

The limiter that shed the call, on a 429.

null | string
errors

On a validation failure, the messages for each field, keyed by the field’s name.

null | object
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": 1,
"codeName": "example",
"traceId": "example",
"requires": "example",
"scope": "example",
"errors": "example"
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

Too many requests. Wait the seconds in Retry-After, then send the call again (service.too-many-requests).

Media typeapplication/problem+json

The body of every failed call, served as application/problem+json (RFC 9457) with the members the platform adds: a numeric code, a codeName and a traceId.

object
type

A reference to the code’s entry on the error-codes page.

string
title

A short summary of the problem.

string
status
required

The HTTP status of the answer.

integer format: int32
detail

What went wrong in this call, in a sentence.

string
instance

The path of the call.

string
code
required

The stable numeric error code. The error-codes page lists them.

integer format: int32
codeName
required

The stable name of the error code, for example resource.not_found.

string
traceId
required

The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.

string
requires

The scope or condition the caller is missing, on a refusal that names one.

null | string
scope

The limiter that shed the call, on a 429.

null | string
errors

On a validation failure, the messages for each field, keyed by the field’s name.

null | object
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": 1,
"codeName": "example",
"traceId": "example",
"requires": "example",
"scope": "example",
"errors": "example"
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

Retry-After
integer

The seconds to wait before the call is sent again.

X-RateLimit-Limit
integer

The calls the limiter allows in its window, when it knows.

X-RateLimit-Remaining
integer

The calls left in the window, when the limiter knows.

X-RateLimit-Reset
integer

The seconds until the window resets, when the limiter knows.

X-RateLimit-Scope
string

Names the limiter that shed the call.