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

List departments

GET
/departments/

Use with AI:Rippling AI ChatGPT Claude Cursor

List departments

GET
/departments/

Returns a paginated list of all departments within the organization.

Helpful resources

Required Scopes

  • departments.read

Request

Query Parameters
    expand string
    order_by string
    limit integerrequired

    Possible values: >= 1 and <= 100

    Default value: 50

    The maximum number of results to return. Defaults to 50. Maximum is 100.

    cursor string

Expanding objects

Include one or more of these fields in the expand parameter to return nested data.

Fields:parent, department_hierarchy

Sorting results

Include one or more of these fields in the sort parameter to control result order.

Fields:id, created_at, updated_at

Responses​

Successful response

Schema
    __meta object
    A list of redacted fields.
      redacted_fields object[]
        Array [
        name string

        The name for the redacted field

        reason string

        The reason for the redaction

        ]
    results object[]
      Array [
      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

        ]
      next_link stringnullable

      A link to the next page of responses, or null if there are no more pages.

    Loading...