Skip to Content
API ReferenceSurveys

Search Surveys

POST
/api/v1/surveys/search

Requires feature talent_surveys=true and surveys_module=edit; without surveys_manage_all=edit only own or shared surveys are returned

Authorization

HttpBearerAuth
headerAuthorizationBearer <JWT>

Request Body

application/json
  1. body
page_number?Page Number
Range0 < value
Default1
page_size?Page Size
Range1 <= value <= 100
Default20
text?string|null
statuses?array<>|null

Response Body

Successful Response

application/json
  1. response
items*array<>
metadata*
Example Request
curl -X POST 'https://api.skailer.com/api/v1/surveys/search' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "items": [    {      "id": 0,      "title": "string",      "status": "draft",      "date_starts_at": "string",      "date_ends_at": "string",      "completed_count": 0,      "total_count": 0,      "anonymous_threshold": 0,      "is_anonymous": true    }  ],  "metadata": {    "page_number": 1,    "total_pages": 0,    "items": 0,    "items_per_page": 0,    "total_items": 0  }}