Get Department's Users
Gets information of Users that belong to a Department, including their Job title.
| Method | GET |
|---|---|
| URL | https://{subdomain}.kintone.com/v1/organization/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 |
|---|---|---|---|
| code | String | Yes | The department code. |
| offset | Integer | Optional | The offset. If ignored, this value is 0. |
| size | Integer | Optional | The maximum number of users to get from the Department. If ignored, this value is 100. |
Sample Request
JavaScript using kintone.api()
|
|
XMLHttpRequest
|
|
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| userTitles | Array | A list of Users and their Job titles that belong to the Department, as userTitle types. For more information on userTitle types, refer to the following link: userTitle type |
Sample Response
|
|