cURL
curl --request GET \ --url https://api.rippling.com/platform/api/departments \ --header 'Authorization: Bearer <token>'
[ { "name": "Sales", "id": "62037ae4d482ff8219a73196", "parent": "5ec5595ffa9c4e1728118d6f" }, { "name": "SMB", "id": "609069a5c8e8f044cf44e997", "parent": null } ]
Returns a list of departments for the given company.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Sets a limit on the returned values
Offsets the returned values
OK
A company department object.
Name of the department
Unique identifier of the department
id of the parent department, if one exists