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
API

Create a new department

POST
/departments/

Use with AI:Rippling AI ChatGPT Claude Cursor

Create a new department

POST
/departments/

Creates a new department within the organization and returns its ID and details.

Helpful resources

Required Scopes

  • departments.read-write

Request

Body
    name stringrequired

    The name of the department.

    parent_id string

    The parent department.

    reference_code string

    Reference code of the department.

Responses​

Successful response

Schema
    __meta object
      redacted_fields object[]
        Array [
        name string

        The name for the redacted field

        reason string

        The reason for the redaction

        ]
    id stringrequired

    Identifier field

    created_at stringrequired

    Record creation date

    updated_at stringrequired

    Record update date

    name stringrequired

    The name of the department.

    parent_id string

    The parent department.

    parent objectnullable
    The parent department.
    • Matches one or more of these formats:

      1. Format 1
        • Format 2
            value objectnullable
            Possible values: [null]
      reference_code string

      Reference code of the department.

      department_hierarchy_id string[]

      The identifier of departments in the department hierarchy ordered from parent department to child department.

      department_hierarchy object[]nullable

      List of departments in the department hierarchy. Refer department_hierarchy_ids for department hierarchy order.

      Expandable field

    Loading...