Skip to main content

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.

Scopeusers:read
AsynchronousNo
MCP toollist_users
Portal permissionsview_users, view_user_profiles
Pagingkeyset
Default orderuser_id
Sort fieldsuser_id
Filtersis_active

Parameters​

NameInTypeRequiredDescription
searchquerystring or nullOptionalEvery word must match the user's e-mail, username, first name or surname (case-insensitive).
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
is_activequeryarray of booleanOptional
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of UserRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

User​

FieldTypeRequiredDescription
departmentstring or nullRequiredThe department's name; null when none.
display_namestringRequired
emailstring or nullRequired
email_notificationboolean or nullRequiredNull without View Notification Preferences.
first_active_atstring (date-time) or nullRequiredThe 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_namestring or nullRequired
is_activebooleanRequired
is_externalbooleanRequired
is_non_billableboolean or nullRequiredTrue 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_verifiedboolean or nullRequiredTrue 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_atstring (date-time) or nullRequiredThe latest sign-in to this organisation; null under the same conditions as first_active_at.
organisation_idstring or nullRequired
surnamestring or nullRequired
user_idstringRequired
usernamestring or nullRequiredThe username and document-number prefix.