v20

latestOpenAPI 3.1.0raw.githubusercontent.com2026-03-271727149.6 KB
Departments

List all departments for your company.

get/v1/departments

Query parameters

limitstring

a number less than or equal to 100

a number less than or equal to 100

afterIdstring

The unique public id of the department

Example:dpt_1234

The unique public id of the department

beforeIdstring

The unique public id of the department

Example:dpt_1234

The unique public id of the department

Response

Success

hasMoreboolean required
countinteger required

an integer

Example response

{
  "data": [
    {
      "id": "dpt_1234",
      "name": "Engineering"
    }
  ]
}
All 17 operations