---
title: "Get survey responses for a survey"
method: GET
path: "/surveys/{id}/responses"
tags: ["surveys"]
---

# Get survey responses for a survey

`GET /surveys/{id}/responses`

Returns paginated survey responses, optionally filtered by time range, account, or contact.

**Rate limit:** 60 requests per minute

## Path parameters

- `id` string, required

## Query parameters

- `submitted_after` string
- `submitted_before` string
- `account_id` string
- `contact_id` string
- `cursor` string
- `limit` integer

## Response `200`

- GetSurveyResponsesResponseBody
  - `data` SurveyResponse[] — The data payload of the response.
    - `account_id` string — The ID of the account associated with the response.
    - `answers` SurveyResponseAnswer[] — The answers submitted in this response.
      - `prompt` string — The prompt/question that was answered.
      - `question_type` string — The type of question (score or comment).
      - `value` string — The value of the answer.
    - `contact_id` string — The ID of the contact who submitted the response.
    - `id` string — The unique identifier of the survey response.
    - `submitted_at` string, date-time — When the response was submitted.
  - `pagination` Pagination
    - `cursor` string, required — The cursor for the next page of results.
    - `has_next_page` boolean, required — Indicates if there is a next page of results.
  - `request_id` string — The request ID for tracking.

## Other responses

- `400` — The request was invalid or could not be completed.
- `404`
- `500` — An unexpected internal error occurred.

---

[API](https://skmtc.net/usepylon/apis/pylon-api.md) · [All operations](https://skmtc.net/usepylon/apis/pylon-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usepylon/pylon-api/versions/999c51740b4e/schema)
