> ## Documentation Index
> Fetch the complete documentation index at: https://help.statisfy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List a survey's responses

> Pages through the responses a survey collected, newest first, optionally only those to one campaign. A recipient who answers again replaces their answers.



## OpenAPI

````yaml /api/statisfy-api.openapi.json get /v1/surveys/{survey_id}/responses
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/surveys/{survey_id}/responses:
    get:
      tags:
        - surveys
      summary: List a survey's responses
      description: >-
        Pages through the responses a survey collected, newest first, optionally
        only those to one campaign. A recipient who answers again replaces their
        answers.
      operationId: surveys_responses
      parameters:
        - description: The survey's id, from GET /v1/surveys
          in: path
          name: survey_id
          required: true
          schema:
            type: string
        - description: Only responses to this campaign
          in: query
          name: campaign_id
          required: false
          schema:
            anyOf:
              - maximum: 2147483647
                minimum: 1
                type: integer
              - type: 'null'
            default: null
        - in: query
          name: limit
          required: false
          schema:
            default: 25
            maximum: 100
            minimum: 1
            type: integer
        - description: '`next_cursor` from the previous page'
          in: query
          name: cursor
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            default: null
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SurveyResponsesPage'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    SurveyResponsesPage:
      properties:
        data:
          items:
            $ref: '#/components/schemas/SurveyResponseRecord'
          title: Data
          type: array
        has_more:
          default: false
          title: Has More
          type: boolean
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
      required:
        - data
      title: SurveyResponsesPage
      type: object
    SurveyResponseRecord:
      properties:
        answers:
          additionalProperties: true
          description: Each answer, keyed by its question's name in the survey's definition
          title: Answers
          type: object
        campaign_id:
          anyOf:
            - type: string
            - type: 'null'
          description: The campaign that sent the survey
          title: Campaign Id
        contact_id:
          anyOf:
            - type: string
            - type: 'null'
          description: 'Who answered: a contact''s id, from GET /v1/objects/contact/records'
          title: Contact Id
        id:
          title: Id
          type: string
        submitted_at:
          description: 'When it was last submitted: answering again replaces the answers'
          format: date-time
          title: Submitted At
          type: string
        survey_id:
          title: Survey Id
          type: string
      required:
        - id
        - survey_id
        - contact_id
        - campaign_id
        - submitted_at
        - answers
      title: SurveyResponseRecord
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.