Get Departments

Gets information of departments.
Method GET
URL https://{subdomain}
Authentication Password Authentication


All users other than Guest Users can use this API.

Request Parameters

Parameter Value Required Description
ids Array Optional A list of Department IDs, as ID types.
Up to 100 ids can be specified.
codes Array Optional  A list of Department Codes, 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 Department 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 REST API Request)


Response Parameters

Parameter Type Description
organizations Array A list of department information, as organization types, in ascending order of id.

Sample Response

Was this article helpful?
0 out of 0 found this helpful
Do you have any questions or issues related to this article?
Please share your views with us in the Community forums!