Skip to Content
API ReferenceSurveys

Search Survey Participants

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

On an anonymous survey status is null and the statuses filter is rejected with 422. Requires view access to the survey

Authorization

HttpBearerAuth
headerAuthorizationBearer <JWT>

Path Parameters

survey_id*Survey Id

Request Body

application/json
  1. body
page_number?Page Number
Range0 < value
Default1
page_size?Page Size
Range1 <= value <= 200
Default20
statuses?array<>|null
department_ids?array<integer>|null
job_profile_ids?array<integer>|null
job_role_ids?array<integer>|null
manager_ids?array<integer>|null

Response Body

Successful Response

application/json
  1. response
items*array<>
metadata*
Example Request
curl -X POST 'https://api.skailer.com/api/v1/surveys/0/participants/search' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "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  }}