Skip to Content
Guides

Surveys

Read surveys, their aggregated results with eNPS, individual answers, and participants.

The /api/v1/surveys endpoint group reads employee surveys run in Skailer: the list of surveys, aggregated results, individual answers, and the participant list. Surveys cannot be created or changed through the API.

Every method requires the talent_surveys feature and surveys_module=edit. Without surveys_manage_all=edit only the surveys the API user owns or that are shared with them are available.

Search surveys

POST /api/v1/surveys/search
FieldTypeDescription
textstringSearch by title
statusesstring[]draft, pending_launch, running, paused, completed
page_numberintegerPage number, starts from 1
page_sizeintegerSurveys per page, 1-100, default 20
{
  "id": 42,
  "title": "Q4 engagement",
  "status": "running",
  "date_starts_at": "2026-10-01",
  "date_ends_at": "2026-10-31",
  "completed_count": 87,
  "total_count": 120,
  "anonymous_threshold": 5,
  "is_anonymous": true
}

anonymous_threshold is the minimum number of answers before results are shown; 0 means the survey is not anonymous.

Survey results

POST /api/v1/surveys/{survey_id}/results

Per-question answer distributions. Optional filters narrow the respondents: department_ids, job_profile_ids, job_role_ids, manager_ids.

{
  "survey_id": 42,
  "is_anonymous": true,
  "is_below_anonymity_threshold": false,
  "questions": [
    {
      "form_element_id": 501,
      "type": "scale",
      "title": "I would recommend the company as a place to work",
      "options": [
        { "id": 1, "title": "Agree", "emoji": null, "value": 5, "is_not_applicable": false, "scale": 5, "count": 61 }
      ],
      "total_answers": 87,
      "comments_count": 12,
      "enps": null
    }
  ]
}
  • options is filled for scale, select, goal, and eNPS questions. For an eNPS question id and value are the score, 0-10.
  • enps is filled for an eNPS question: the overall score (enps_score, and the count and percent of promoters, passives, and detractors) plus by_departments and by_managers with the same score per group.
  • When there are fewer answers than the anonymity threshold, is_below_anonymity_threshold is true and questions is empty.
  • Open-text answers are not included; read them with answer search.

Search answers

POST /api/v1/surveys/{survey_id}/answers/search

Individual answers to every question, one item per answer.

FieldTypeDescription
form_element_idsinteger[]Only these questions (form_element_id from the results)
employee_idsinteger[]Only these employees' answers. Rejected with 422 on an anonymous survey
textstringSearch in answer texts
with_commentsbooleanOnly answers with a comment
department_ids, job_profile_ids, job_role_ids, manager_idsinteger[]Respondent filters, as in results
page_numberintegerPage number, starts from 1
page_sizeintegerAnswers per page, 1-200, default 20
{
  "items": [
    {
      "form_element_id": 502,
      "employee": null,
      "answer_text": "More focus time, fewer meetings",
      "answer_option_ids": null,
      "answer_int": null,
      "comment": null,
      "field_values": null
    }
  ],
  "metadata": { "page_number": 1, "total_pages": 2, "items": 20, "items_per_page": 20, "total_items": 34 },
  "is_below_anonymity_threshold": false
}
FieldDescription
employeeWho answered; null on an anonymous survey
answer_textText answer
answer_option_idsSelected options of a scale or select question
answer_inteNPS score, 0-10
commentComment to the answer
field_valuesValues written to employee fields by the question: row (row number for table fields), field_id, field_type, value

Below the anonymity threshold items is empty and is_below_anonymity_threshold is true.

Search participants

POST /api/v1/surveys/{survey_id}/participants/search
FieldTypeDescription
statusesstring[]added, invited, in_progress, completed, canceled. Rejected with 422 on an anonymous survey
department_ids, job_profile_ids, job_role_ids, manager_idsinteger[]Participant filters
page_numberintegerPage number, starts from 1
page_sizeintegerParticipants per page, 1-200, default 20

Each participant carries employee, department_id, status, and datetime_last_reminder_at. On an anonymous survey status is null, so who has answered is not disclosed.

Typical integration scenario

Goal: load eNPS by department into a BI tool after a survey ends.

  1. Find completed surveys - POST /api/v1/surveys/search with "statuses": ["completed"].
  2. Get results - POST /api/v1/surveys/{survey_id}/results; take enps.by_departments of the eNPS question.
  3. Export open answers if needed - POST /api/v1/surveys/{survey_id}/answers/search with form_element_ids of the text questions.

On this page