Data Export API

Retrieve the surveys, questions and responses of your account automatically, for example for a data warehouse or a BI tool.

With the Data Export API, you retrieve the surveys, questions and responses of your PollHero account automatically. For example, you can load the data into a data warehouse, a BI tool such as Looker Studio or Power BI, or your own analyses on a regular basis.

PropertyValue
Base URLhttps://app.poll-hero.com/api/v1
Accessread only (GET)
AuthenticationBearer token (API token of the account)
AvailabilityEnterprise plan (API access)
FormatJSON, UTF-8

Endpoints

MethodPathDescription
GET/surveysList the surveys of the account
GET/surveys/{survey_id}Get one survey with details
GET/surveys/{survey_id}/questionsGet the questions of a survey
GET/surveys/{survey_id}/responsesList the responses of a survey
GET/surveys/{survey_id}/responses/{response_id}Get a single response

Terms

  • Survey: identified by its UUID.
  • Question: a question of the published version of a survey.
  • Response: one participation with at least one answered question. It contains all answers of that participation. To learn how PollHero counts participations, see How we count impressions, responses and rates.
  • Respondent: the person behind a response, optionally with the user attributes you passed via identify().

Quick start

Step 1: Create an API token in the account management. To learn how, see Authentication.

Step 2: Retrieve your surveys:

curl "https://app.poll-hero.com/api/v1/surveys" \
  -H "Authorization: Bearer ph_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Step 3: Take the id of a survey and retrieve its responses:

curl -G "https://app.poll-hero.com/api/v1/surveys/{survey_id}/responses" \
  -H "Authorization: Bearer ph_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
  --data-urlencode "from=2026-09-01" \
  --data-urlencode "page[size]=100"

To retrieve all pages one after another, see the example: export all responses.

On this page