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| Field | Type | Description |
|---|---|---|
text | string | Search by title |
statuses | string[] | draft, pending_launch, running, paused, completed |
page_number | integer | Page number, starts from 1 |
page_size | integer | Surveys 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}/resultsPer-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
}
]
}optionsis filled for scale, select, goal, and eNPS questions. For an eNPS questionidandvalueare the score, 0-10.enpsis filled for an eNPS question: the overallscore(enps_score, and the count and percent of promoters, passives, and detractors) plusby_departmentsandby_managerswith the same score per group.- When there are fewer answers than the anonymity threshold,
is_below_anonymity_thresholdistrueandquestionsis empty. - Open-text answers are not included; read them with answer search.
Search answers
POST /api/v1/surveys/{survey_id}/answers/searchIndividual answers to every question, one item per answer.
| Field | Type | Description |
|---|---|---|
form_element_ids | integer[] | Only these questions (form_element_id from the results) |
employee_ids | integer[] | Only these employees' answers. Rejected with 422 on an anonymous survey |
text | string | Search in answer texts |
with_comments | boolean | Only answers with a comment |
department_ids, job_profile_ids, job_role_ids, manager_ids | integer[] | Respondent filters, as in results |
page_number | integer | Page number, starts from 1 |
page_size | integer | Answers 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
}| Field | Description |
|---|---|
employee | Who answered; null on an anonymous survey |
answer_text | Text answer |
answer_option_ids | Selected options of a scale or select question |
answer_int | eNPS score, 0-10 |
comment | Comment to the answer |
field_values | Values 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| Field | Type | Description |
|---|---|---|
statuses | string[] | added, invited, in_progress, completed, canceled. Rejected with 422 on an anonymous survey |
department_ids, job_profile_ids, job_role_ids, manager_ids | integer[] | Participant filters |
page_number | integer | Page number, starts from 1 |
page_size | integer | Participants 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.
- Find completed surveys -
POST /api/v1/surveys/searchwith"statuses": ["completed"]. - Get results -
POST /api/v1/surveys/{survey_id}/results; takeenps.by_departmentsof the eNPS question. - Export open answers if needed -
POST /api/v1/surveys/{survey_id}/answers/searchwithform_element_idsof the text questions.
