List surveys

GET
/surveys

Returns the surveys the token may read, newest first. from and to refer to the creation date.

Authorization

bearerAuth
headerAuthorizationBearer <token>

API token of the account (ph_ followed by 48 characters), created in the account settings under API access.

Query Parameters

project_id?string

Only surveys of this project (project.id of a survey). An unknown project returns an empty list.

Lengthlength <= 64
page[size]?integer

Records per page, 1 to 100. Default: 50.

Range1 <= value <= 100
Default50
page[cursor]?string

Cursor of the next page. Take it from links.next and pass it on unchanged.

Lengthlength <= 500
from?string

Only records whose creation date is at or after this point in time. ISO 8601; a plain date (2026-01-31) covers the whole day in UTC.

to?string

Only records whose creation date is at or before this point in time. Must not be before from.

Response Body

A page of surveys.

application/json
  1. response
data*array<>
links*
meta*
curl -X GET 'https://app.poll-hero.com/api/v1/surveys'
{  "data": [    {      "id": "42293d51-fdd7-49cb-a693-cc6f9f0a070b",      "type": "onsite",      "name": "Checkout satisfaction",      "created_at": "2026-08-12T09:14:03.000000Z",      "active": true,      "paused": false,      "draft": false,      "responses": 1284,      "launch": {        "start_at": "2026-08-14T00:00:00.000000Z",        "end_at": null      },      "project": {        "id": "KIn-gk5o6co5HOsPHDq8B",        "name": "Online shop"      }    }  ],  "links": {    "first": "https://app.poll-hero.com/api/v1/surveys",    "prev": null,    "next": "https://app.poll-hero.com/api/v1/surveys?page%5Bcursor%5D=eyJ0IjoiMjAyNi0w..."  },  "meta": {    "page_size": 50  }}