API Reference
Log In
API Reference

Create a department

Creates a new department under the given parent (or as a root when parentId is omitted). The department is recorded as created manually.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

ID of the team that owns this data.

Body Params

Request to create a department. Departments created here are marked as manually created; CSV import and directory sync add departments through other paths.

string

Department name, unique among siblings under the same parent

int64 | null

Parent department id; omit or null to create a root unit

string | null

Optional external reference id for cross-referencing with a synced source

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*