API Versions
v1.2.4
Public API - applicant labels, candidate scorecard feedbacks with answers, employee time-off days, and new employee search blocks.
API v1.2.4 New features
Applicant labels
GET /api/v1/applicant-labels/all- all applicant labels of the organization, each withid,title, andcolor.- Use the returned ids with the
label_idsfilter ofPOST /api/v1/applicants/search. - Requires permission
recruiting_module.
Candidate feedbacks - answers
GET /api/v1/candidates/{candidate_id}/feedbacks- every scorecard feedback of a candidate with its questions and answers.- Each answer returns
question_title,question_type,answer_text(open answer),comment(interviewer comment on any question type),answer_options(selected scale or select options as text), andanswer_score. - Feedbacks that are still awaiting an answer are returned too, with empty answer fields and
statusother thancompleted. - Requires
feature ats_scorecards=trueand access to the candidate.
Candidate feedbacks - overview
GET /api/v1/candidates/{candidate_id}/feedbacks/overview- aggregated scorecard stats of a candidate:requested_count,completed_count,avg_scale_score,max_scale_score,avg_score_mark, andscore_marks.- Use it for dashboards where the answer texts are not needed.
- Requires
feature ats_scorecards=trueand access to the candidate.
Set applicant labels
PUT /api/v1/applicants/{applicant_id}/labels- replaces the whole set of applicant labels with thelabel_idspassed in the body; an empty list clears them.- Label ids that do not belong to the organization are ignored.
- Returns the full applicant, so the resulting labels can be checked right in the response.
- Requires permissions
recruiting_module=editandmanage_candidates=edit.
Employee time-off days
POST /api/v1/time-off/availability/search- the dates on which employees are on time off within a period.- Multi-day leaves are expanded into separate days and clipped to the requested period, so intervals do not have to be intersected on the client.
- Only occupied dates are returned; each day carries
time_off_category_idto join withGET /api/v1/time-off/categories, andis_pendingfor leaves still awaiting approval. - Free days, weekends and public holidays are not returned, and part-time schedules are not taken into account.
- Filters:
employee_ids,category_ids,department_ids,team_ids,division_ids,location_ids. The period is limited to 366 days. - Requires permission
access_to_leave_timeline=edit.
POST /api/v1/time-off/logs/search - filter by period
- New optional
date_fromanddate_tokeep only the records whose own period overlaps the requested one. - The bounds are independent: either one may be passed alone.
- Existing requests are unaffected - without the new fields the method behaves exactly as before.
POST /api/v1/employees/search - new employee_fields blocks
- Three values of
employee_fieldsnow reach the response. They were accepted before, but their data never appeared in the payload. time_off- fillstime_offwhen the employee is on leave today:date_from,date_to,categoryandbalance_requested. The date is not a parameter, so this answers "who is off right now", not a balance for a past date. It isnullfor everybody else.custom_tables- fillscustom_tables: one entry per table withtable_idandrows, each row carryingid,date_effective_from,is_currentandcells. A historical table returns its current row only.additional_compensations- fillsadditional_compensationswith the payments of the current month (by UTC):id,date_effective_from,compensation_type,amount,amount_gross,amount_net,currency,descriptionandcomment. For the whole history useGET /api/v1/employees/{employee_id}/additional-compensations.- All three are additive: a request that does not ask for them returns exactly what it returned before.
custom_tablesrequires thecustom_fieldsfeature,time_offrequires thetime_offfeature, andadditional_compensationsfollows theemployee_additional_compensationfield permission per employee.
API v1.2.4 Breaking changes
DELETE /api/v1/employees/{employee_id} - successor is now required
- The
successor_employee_idquery parameter became required. A request without it returns422. - The successor takes over the entities of the archived employee: subordinates, goals, tasks and other assignments.
- Update your integrations before upgrading:
DELETE /api/v1/employees/{employee_id}?successor_employee_id={id}.
