List users.
GET/api/v1/usersusers:read
Keyset list of the company's users with an e-mail address, one per address (the earliest live account). search: every word must match. is_active filters by the account's state. email_notification is null without View Notification Preferences, first_active_at and last_active_at without View User Activity, and is_non_billable without View Licenses.
| Scope | users:read |
| Asynchronous | No |
| MCP tool | list_users |
| Portal permissions | view_users, view_user_profiles |
| Paging | keyset |
| Default order | user_id |
| Sort fields | user_id |
| Filters | is_active |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
search | query | string or null | Optional | Every word must match the user's e-mail, username, first name or surname (case-insensitive). |
limit | query | integer | Optional | Default: 50; ≥ 1 |
cursor | query | string | Optional | |
sort | query | string | Optional | Comma-separated sort fields, - for descending. |
is_active | query | array of boolean | Optional | |
Docwize-Version | header | string (date) | Optional | |
If-None-Match | header | string | Optional | Answers 304 when the representation is unchanged (resources that publish an ETag). |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json object |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
410 | cursor_expired | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | invalid_cursor, validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
200 body
| Field | Type | Required | Description |
|---|---|---|---|
items | array of User | Required | |
next_cursor | string or null | Required | |
warnings | array of object | Required |
Errors
The problem codes this operation can answer with. Each code links to its page.
| Code | Status |
|---|---|
invalid_version | 400 |
token_expired | 401 |
unauthenticated | 401 |
forbidden | 403 |
insufficient_scope | 403 |
token_owner_inactive | 403 |
method_not_allowed | 405 |
not_acceptable | 406 |
cursor_expired | 410 |
wrong_region | 421 |
invalid_cursor | 422 |
validation_failed | 422 |
internal_error | 500 |
tenant_unavailable | 503 |
unavailable | 503 |
timeout | 504 |
Schemas
User
| Field | Type | Required | Description |
|---|---|---|---|
department | string or null | Required | The department's name; null when none. |
display_name | string | Required | |
email | string or null | Required | |
email_notification | boolean or null | Required | Null without View Notification Preferences. |
first_active_at | string (date-time) or null | Required | The first sign-in to this organisation; null when the person never signed in, without View User Activity, or when the sign-in service could not be read. |
first_name | string or null | Required | |
is_active | boolean | Required | |
is_external | boolean | Required | |
is_non_billable | boolean or null | Required | True for a Docwize consultant, who is not billed as a user. Null without View Licenses, or when the consultant list could not be read. |
is_verified | boolean or null | Required | True once the person accepted the invitation and verified the sign-in; false while the invitation is pending or the person has no sign-in. Null when the sign-in service could not be read (a warning says so). |
last_active_at | string (date-time) or null | Required | The latest sign-in to this organisation; null under the same conditions as first_active_at. |
organisation_id | string or null | Required | |
surname | string or null | Required | |
user_id | string | Required | |
username | string or null | Required | The username and document-number prefix. |