Get Users
Gets information of users.
| Method | GET |
|---|---|
| URL | https://{subdomain}.kintone.com/v1/users.json |
| Authentication | API Token Authentication , Password Authentication , Session Authentication |
| Content-Type | application/json (not needed if specifying the query with a query string) |
Permissions
All users other than Guest Users can use this API.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| ids | Array | Optional | A list of User IDs, as ID types. Up to 100 ids can be specified. For more information on ID types, refer to the following link: ID type |
| codes | Array | Optional | A list of User Codes (log-in names), as Strings. Up to 100 codes can be specified. |
| offset | Integer | Optional | The offset. If ignored, this value is 0. |
| size | Integer | Optional | The maximum number of User information to get. If ignored, this value is 100. |
*If ids and codes are both ignored, up to 100 ids will be responded in ascending order of id.
**If ids and codes are both set, an error will return. Only one can be set.
Sample Request
JavaScript using kintone.api()
|
|
XMLHttpRequest
|
|
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| users | Array | A list of user information, as user types. For more information on user types, refer to the following link: user type |
Sample Response
|
|
Notes
- User custom field values (
customItemValues) are only retrievable after each individual user's profile has been updated at least once in the Kintone UI. If the user's profile has never been updated, the API will return an emptycustomItemValuesarray, even if custom fields are configured.