v1

latestOpenAPI 3.1.02026-07-14801408.6 KB

/departments

Creates a department in your account. Required scope: w_departments. Accessible with all token types.

post/departments

Path parameters

subdomainstring required

The account subdomain

Request body

namestring required

The name of the new department

parent_idstring

The department identifier of the parent department if it is a top level department

Response

200

idstring
namestring
parent_idstring
sampleboolean

Example response

{
  "id": "3ff4d641",
  "name": "Commercial"
}