List users.
GET/api/v1/usersusers:read
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
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.
| スコープ | users:read |
| 非同期 | いいえ |
| MCP ツール | list_users |
| Portal の権限 | view_users, view_user_profiles |
| ページング | keyset |
| 既定の並び順 | user_id |
| 並べ替えに使えるフィールド | user_id |
| フィルター | is_active |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
search | query | string または null | 任意 | Every word must match the user's e-mail, username, first name or surname (case-insensitive). |
limit | query | integer | 任意 | 既定値: 50; ≥ 1 |
cursor | query | string | 任意 | |
sort | query | string | 任意 | Comma-separated sort fields, - for descending. |
is_active | query | boolean の配列 | 任意 | |
Docwize-Version | header | string (date) | 任意 | |
If-None-Match | header | string | 任意 | Answers 304 when the representation is unchanged (resources that publish an ETag). |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
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 の本文
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
items | User の配列 | 必須 | |
next_cursor | string または null | 必須 | |
warnings | object の配列 | 必須 |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
User
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
department | string または null | 必須 | The department's name; null when none. |
display_name | string | 必須 | |
email | string または null | 必須 | |
email_notification | boolean または null | 必須 | Null without View Notification Preferences. |
first_active_at | string (date-time) または null | 必須 | 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 または null | 必須 | |
is_active | boolean | 必須 | |
is_external | boolean | 必須 | |
is_non_billable | boolean または null | 必須 | 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 または null | 必須 | 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) または null | 必須 | The latest sign-in to this organisation; null under the same conditions as first_active_at. |
organisation_id | string または null | 必須 | |
surname | string または null | 必須 | |
user_id | string | 必須 | |
username | string または null | 必須 | The username and document-number prefix. |