Departments

List departments

Changed on

include=managers adds the managers. Without it the key is absent, never null standing in for "not asked for".

get/company/v3/departments

Request

  • Base URL: https://api.clockster.com
  • URL: https://api.clockster.com/company/v3/departments
  • Auth: HTTP bearer

Query parameters

per_pageinteger

How many rows one page holds. Defaults to 50.

cursorstring nullable

The meta.next_cursor of the previous page. Omit it for the first. A cursor is bound to the filters it was issued under — change them and start again.

searchstring nullable

Free text over the names the section lists.

updated_sincestring date-time nullable

Only rows changed at or after this instant (ISO 8601). The cheap way to sync: ask for what moved, not for everything.

includestring[] nullable

Relations to load, comma-separated. Anything not named is absent from the answer rather than null.

Response

Success

Changes