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

# Get survey responses for an issue

`GET /issues/{id}/survey-responses`

Returns paginated CSAT and custom survey responses associated with an issue.

**Rate limit:** 300 requests per minute

## Path parameters

- `id` string, required

## Query parameters

- `survey_id` string
- `submitted_after` string
- `submitted_before` string
- `cursor` string
- `limit` integer

## Response `200`

- GetIssueSurveyResponsesResponseBody
  - `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_id` string — The ID of the survey question, when applicable.
      - `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.
    - `excluded_at` string, date-time — When the response was excluded from analytics.
    - `id` string — The unique identifier of the survey response.
    - `issue_id` string — The ID of the issue associated with this response, when applicable.
    - `submitted_at` string, date-time — When the response was submitted.
    - `survey_id` string — The ID of the survey template associated with this response.
    - `survey_instance_id` string — The ID of the individual survey delivery that produced this response.
    - `survey_type` 'nps' | 'csat' | 'custom' — The type of survey associated with this response.
  - `issue_id` string — The canonical issue ID.
  - `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.
- `403` — The authenticated caller or organization is not allowed to access this endpoint or operation.
- `404`
- `500` — An unexpected internal error occurred.

---

[API](https://skmtc.dev/usepylon/apis/pylon-api.md) · [All operations](https://skmtc.dev/usepylon/apis/pylon-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usepylon/pylon-api/revisions/7b12ab92de27/schema)
