Skip to Content
API Versions

v1.2.8

Public API - surveys, teams, terminations, legal entities, reference field values, and compensation totals.

API v1.2.8 New features

Surveys

  • POST /api/v1/surveys/search - surveys with status, dates, progress, and anonymity threshold.
  • POST /api/v1/surveys/{survey_id}/results - per-question distributions and eNPS with department and manager breakdowns.
  • POST /api/v1/surveys/{survey_id}/answers/search - individual answers, filtered by question, employee, text, or comment.
  • POST /api/v1/surveys/{survey_id}/participants/search - participants with their status.
  • On an anonymous survey the respondent and participant status are null, and filters by employee or status return 422. Below the anonymity threshold results and answers are empty. See Surveys.

Teams

  • GET /api/v1/teams/{team_id}, POST /api/v1/teams, PUT /api/v1/teams/{team_id}, DELETE /api/v1/teams/{team_id} - read, create, update, and delete teams with links and members.
  • PUT changes only the sent fields; members replaces the whole member list. Writes require manage_teams = edit. See Teams.

Terminations

  • GET /api/v1/employees/{employee_id}/terminations and POST /api/v1/employees/terminations/search - termination records, including past employment periods of rehired employees. See Terminations.
  • A termination now returns employee_id, and its termination_leave_type returns is_voluntary. The items of GET /api/v1/organization-lists/type/termination_leave_types return is_voluntary too.
  • GET /api/v1/legal-entities - every legal entity sorted by title, archived included. See Legal entities.

Reference fields

  • For entity_reference fields, options in GET /api/v1/custom-fields/fields and GET /api/v1/custom-fields/tables are now the active records of the referenced directory (for example, legal entities) instead of the old select options.
  • Values of custom fields and table cells return value_references - id, title, and is_archived of each referenced record, in value_int_array order. See Custom Tables.

URL labels

  • A url field takes an optional value_label (up to 255 characters) shown instead of the address. It is accepted in employee custom fields and table rows, and returned in their values.

Changes

Compensations

  • Package lines return is_off_payroll. Off-payroll lines and off-payroll additional compensations are now returned under the usual compensation permissions.
  • A compensation version returns rollups - gross, official and actual net, total cost, and implied deductions in the rollup currency.
  • base_salary_net is deprecated: use rollups.net_official_amount or rollups.net_actual_amount. See Compensation history.

Employees

  • PUT /api/v1/employees/{employee_id} changes only the sent fields: an omitted field keeps its value, null clears it.
  • GET /api/v1/employees/{employee_id} returns applicant_id and candidate_id of the recruitment the employee was hired from.
  • POST and PUT /api/v1/employees/{employee_id}/field-tables/{table_id}/rows return the saved row instead of {"success": true}; success stays in the response.
  • tab_id of a custom table can be null.

Time off

  • POST /api/v1/time-off/employee/balance returns can_request - whether a request can be created in the category.
  • For a terminated employee the balance after the termination date is calculated on the termination date.

Recruitment and job catalog

  • Applicants return employee_id - the employee hired from the applicant.
  • link contacts of applicants get https:// when sent without a scheme; unsafe schemes are rejected with 422.
  • Jobs return priority.
  • Job catalog profiles return salary_ranges - salary ranges by country or zone with min, mid, and max; null without settings_positions_levels.

On this page