Overview
Departments are key organizational components within a company, typically comprised of groups of workers who specialize in different areas of expertise or responsibility. Departments serve as integral organizational attributes in Rippling, as they enable you to assign apps, administrative access, and more by parent department (or sub-department, nested under a parent department).
Departments are most commonly used in Supergroups, tying an employee's assigned department to common workflows such as:
- Third-party app access: Assign a third-party app account to only a specific department.
- Documents and onboarding: Require that all members of a department are required to sign specific documents.
- Device management: Order a specific device for one department only.
- RPass: Share credentials with specific departments.
Available endpoints
| Endpoint | Description |
|---|---|
| GET List departments | Lists existing departments. |
| POST Create a new department | Creates a new department. name is required. |
| GET Retrieve a specific department | Retrieves a specific department by id. |
| PATCH Update a department | Updates a department. |
Requirements
- The Rippling API SKU
- An API token with the following scopes:
departments.readto fetch departmentsdepartments.read-writeto create or update departments
Fetch
Use GET List departments to return a paginated list of existing departments.
Request:
curl -L -X GET 'https://rest.ripplingapis.com/departments/'
-H 'Accept: application/json'
-H 'Authorization: Bearer REDACTED'
Response:
{
"results": [
{
"id": "65699295fb7bc7c3510f4075",
"created_at": "2023-12-01T08:00:21.551000+00:00",
"updated_at": "2025-04-20T13:50:50.632000+00:00",
"name": "Sales",
"parent_id": null,
"parent": null,
"reference_code": "10f4075",
"department_hierarchy_id": [
"65699295fb7bc7c3510f4075"
],
"department_hierarchy": null
},
{
"id": "65699295fb7bc7c3510f407f",
"created_at": "2023-12-01T08:00:21.744000+00:00",
"updated_at": "2025-04-20T13:50:50.674000+00:00",
"name": "SMB",
"parent_id": "65699295fb7bc7c3510f4075",
"parent": null,
"reference_code": "10f407f",
"department_hierarchy_id": [
"65699295fb7bc7c3510f4075",
"65699295fb7bc7c3510f407f"
],
"department_hierarchy": null
},
],
}
| Response field | Description |
|---|---|
id | Department identifier. |
created_at | When the department was created. |
updated_at | When the department was last updated. |
name | The name of the department. |
parent_id | Identifier of the parent department. Null when the department has no parent. |
parent | The parent department. Returned only when you pass expand=parent. |
parent.id | Identifier of the parent department. |
parent.name | Name of the parent department. |
parent.parent_id | Identifier of the parent department's parent. |
parent.reference_code | Reference code of the parent department. |
reference_code | Reference code of the department. |
department_hierarchy_id | Department identifiers in the hierarchy, ordered from the top parent to this department. |
department_hierarchy | Departments in that same hierarchy. Returned only when you pass expand=department_hierarchy. Each item has the same fields as a department. |
Use GET Retrieve a specific department when you already have the department id.
Create
Use POST Create a new department to create a new department. name is required, and include a parent_id when creating a sub-department that will be nested within a parent department.
Request:
curl -L -X POST 'https://rest.ripplingapis.com/departments/'
-H 'Accept: application/json'
-H 'Content-Type: application/json'
-H 'Authorization: Bearer REDACTED'
Request body:
{
"name": "Customer Success Manager",
"parent_id": "65699297fb7bc7c3510f40d3",
"reference_code": "1234"
}
| Request body fields | Required | Description |
|---|---|---|
name | Yes | The name of the department. |
parent_id | No | Identifier of the parent department. Omit or send as null to create a top-level department. |
reference_code | No | Reference code of the department. |
Response:
{
"id": "6acd50892241b780fb7ac055",
"created_at": "2026-10-12T21:26:33.384000+00:00",
"updated_at": "2026-10-12T21:26:33.389000+00:00",
"name": "Customer Success Manager",
"parent_id": "65699297fb7bc7c3510f40d3",
"parent": null,
"reference_code": "1234",
"department_hierarchy_id": [
"65699297fb7bc7c3510f40c5",
"65699297fb7bc7c3510f40d3",
"6acd50892241b780fb7ac055"
],
"department_hierarchy": null
}
Update
Use PATCH Update a department to update an existing department.
Request:
curl -L -X PATCH 'hhttps://rest.ripplingapis.com/departments/6acd50892241b780fb7ac055/'
-H 'Accept: application/json'
-H 'Content-Type: application/json'
-H 'Authorization: Bearer REDACTED'
Request body:
{
"name": "CSM",
"parent_id": "65699297fb7bc7c3510f40d3",
"reference_code": "1234"
}
Response:
{
"id": "6acd50892241b780fb7ac055",
"created_at": "2026-10-12T21:26:33.384000+00:00",
"updated_at": "2026-10-12T21:26:33.389000+00:00",
"name": "CSM",
"parent_id": "65699297fb7bc7c3510f40d3",
"parent": null,
"reference_code": "1234",
"department_hierarchy_id": [
"65699297fb7bc7c3510f40c5",
"65699297fb7bc7c3510f40d3",
"6acd50892241b780fb7ac055"
],
"department_hierarchy": null
}