---
title: "GET /projects/{project_id}/surveys/{survey_id}/responses"
method: GET
path: "/projects/{project_id}/surveys/{survey_id}/responses"
tags: ["Surveys"]
---

# GET /projects/{project_id}/surveys/{survey_id}/responses

`GET /projects/{project_id}/surveys/{survey_id}/responses`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/projects/{project_id}/surveys/{survey_id}/responses`
- Auth: HTTP bearer

## Path parameters

- `project_id` integer, required
- `survey_id` integer, required

## Query parameters

- `start_date` string
- `end_date` string
- `environment_id` integer
- `page` integer
- `page_size` integer

## Response `200`

Submitted responses, newest first

- SurveyAnswerListResponse
  - `page` integer, required
  - `page_size` integer, required
  - `responses` SurveyAnswerSet[], required
    - `answers` object, required: Answers by question id. Only declared questions, in the shape their kind allows.
    - `environment_id` integer, nullable
    - `event_id` integer, required: Analytics event id of the `survey_sent` event.
    - `pathname` string, required: Page the survey was answered on.
    - `session_id` string, nullable: Session the answer was given in; links to its replay when recorded.
    - `timestamp` string, required
    - `visitor_id` integer, nullable: Visitor who answered; open their profile from the console.
  - `total` integer, required
  - `total_pages` integer, required

## Other responses

- `400`: Invalid time window
- `401`: Unauthorized
- `403`: Insufficient permissions (requires surveys:read)
- `404`: Survey not found
- `500`: Internal server error

## Changes

- **2026-11-20** `1167397f1408`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/surveys/:survey_id/responses/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
