Search Survey Participants
On an anonymous survey status is null and the statuses filter is rejected with 422. Requires view access to the survey
HttpBearerAuthAuthorizationBearer <JWT>survey_id*Survey Idapplication/json- body
page_number?Page Number0 < value1page_size?Page Size1 <= value <= 20020statuses?array<>|nulldepartment_ids?array<integer>|nulljob_profile_ids?array<integer>|nulljob_role_ids?array<integer>|nullmanager_ids?array<integer>|nullSuccessful Response
application/json- response
items*array<>metadata*curl -X POST 'https://api.skailer.com/api/v1/surveys/0/participants/search' \ -H 'Content-Type: application/json' \ -d '{}'{ "items": [ { "employee": { "id": 0, "first_name": "string", "last_name": "string", "email": "string", "is_archived": false }, "department_id": 0, "status": "added", "datetime_last_reminder_at": "string" } ], "metadata": { "page_number": 1, "total_pages": 0, "items": 0, "items_per_page": 0, "total_items": 0 }}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
Get All Legal Entities GET
Returns the legal entities of the company sorted by title, archived ones included with `is_archived=true`. `employees_count` counts employees who are not terminated, null when there are none. Need any permission: `settings_legal_entities`, `manage_leave_policies`, `manage_approval_policy`, `settings_roles_permissions`, `add_employees`, `employee_employment_legal_entity=view`, `manage_employee_position=edit`.
