For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
guide

Create and manage departments

Manage departments in Rippling using the Organizational Data API.

Use with AI:Rippling AI ChatGPT Claude Cursor

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​

EndpointDescription
GET List departmentsLists existing departments.
POST Create a new departmentCreates a new department. name is required.
GET Retrieve a specific departmentRetrieves a specific department by id.
PATCH Update a departmentUpdates a department.

Requirements​

  • The Rippling API SKU
  • An API token with the following scopes:
    • departments.read to fetch departments
    • departments.read-write to 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 fieldDescription
idDepartment identifier.
created_atWhen the department was created.
updated_atWhen the department was last updated.
nameThe name of the department.
parent_idIdentifier of the parent department. Null when the department has no parent.
parentThe parent department. Returned only when you pass expand=parent.
parent.idIdentifier of the parent department.
parent.nameName of the parent department.
parent.parent_idIdentifier of the parent department's parent.
parent.reference_codeReference code of the parent department.
reference_codeReference code of the department.
department_hierarchy_idDepartment identifiers in the hierarchy, ordered from the top parent to this department.
department_hierarchyDepartments 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 fieldsRequiredDescription
nameYesThe name of the department.
parent_idNoIdentifier of the parent department. Omit or send as null to create a top-level department.
reference_codeNoReference 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
}

See also​