v20

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

Create a new department.

post/v1/departments

Request body

namestring required

a string with no leading or trailing whitespace

Response

Success

idstring required

The unique public id of the department

namestring required
createdAtstring required

a string to be decoded into a Date

Example response

{
  "id": "dpt_1234",
  "name": "Engineering"
}