atsDepartments

Retrieve a list of ATS departments

Returns a paginated list of all departments configured in the organization's ATS. Use it to resolve the department IDs accepted by the department_ids filter when listing jobs and by job creation, and page through results with the cursor and limit query parameters.

Token scopes: ats:read, worker:read

get/ats/departments

Request

  • Base URL: https://api.letsdeel.com/rest
  • URL: https://api.letsdeel.com/rest/ats/departments
  • Auth: HTTP bearer

Query parameters

cursorstring

Cursor for pagination to get the next set of results

limitinteger

Maximum number of records returned in one response

include_archivedstring

If true, archived departments are included in the response; they are excluded by default

Response

Successful response with departments data

has_moreboolean required

Indicates if there are more departments available

next_cursorstring nullable required

Cursor for pagination to get the next set of results; null when there are no more pages

total_countinteger required

Total number of departments available

Changes

No recorded changes to this operation across all 1 revision of this API.