API ReferenceSurveys
Search Survey Answers
POST
Individual answers to all survey questions, each with its form_element_id; filter by employee_ids to get specific employees' answers. On an anonymous survey employee is null and the employee_ids filter is rejected with 422. Below the anonymity threshold items is empty and is_below_anonymity_threshold is true. Requires view access to the survey
HttpBearerAuthheader
AuthorizationBearer <JWT>survey_id*Survey Idapplication/json- body
page_number?Page NumberRange
0 < valueDefault
1page_size?Page SizeRange
1 <= value <= 200Default
20form_element_ids?array<integer>|nullemployee_ids?array<integer>|nulltext?string|nulldepartment_ids?array<integer>|nulljob_profile_ids?array<integer>|nulljob_role_ids?array<integer>|nullmanager_ids?array<integer>|nullwith_comments?boolean|nullSuccessful Response
application/json- response
items*array<>metadata*is_below_anonymity_threshold*Is Below Anonymity Thresholdcurl -X POST 'https://api.skailer.com/api/v1/surveys/0/answers/search' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "items": [ { "form_element_id": 0, "employee": { "id": 0, "first_name": "string", "last_name": "string", "email": "string", "is_archived": false }, "answer_text": "string", "answer_option_ids": [ 0 ], "answer_int": 0, "comment": "string", "field_values": [ { "row": 0, "field_id": 0, "field_type": "string", "value": "string" } ] } ], "metadata": { "page_number": 1, "total_pages": 0, "items": 0, "items_per_page": 0, "total_items": 0 }, "is_below_anonymity_threshold": true}Survey Results POST
Per-question distributions and eNPS with department and manager breakdowns. Below the anonymity threshold `questions` is empty. Requires view access to the survey
Search Survey Participants POST
On an anonymous survey `status` is null and the `statuses` filter is rejected with 422. Requires view access to the survey
