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

# Download survey CSV export

> Streams the CSV export of survey responses as `text/csv`. Use the `version` query parameter to switch between the v1 and v2 CSV formats — v2 is the default.

Authentication: standard Bearer token, OR a short-lived signed token via the `t` query parameter (issued by `/v1/surveys/{id}/exports`).

### Prerequisites
- Survey must be published and completed
- Returns 409 Conflict if the survey is not yet ready for export
- Returns 502 Bad Gateway if the upstream export service is unavailable

Rate limit: 10 requests per minute per caller.



## OpenAPI

````yaml /api-reference/openapi.json get /surveys/{id}/exports/csv
openapi: 3.1.0
info:
  title: PickFu API
  version: 1.0.0
  description: >-
    The PickFu API enables programmatic access to create surveys, retrieve
    results, and integrate PickFu into your workflows.


    ## Overview


    PickFu helps you get instant consumer feedback through surveys. With the
    API, you can:


    - Create surveys programmatically

    - Retrieve survey results and respondent data

    - Target specific audiences with demographic traits

    - Integrate PickFu into your product development workflow


    ## Rate Limits


    Selected endpoints (currently the CSV export endpoints) enforce per-caller
    rate limits and return `429 Too Many Requests` when exceeded. See each
    endpoint description for its specific budget.


    ## Authentication


    All API requests require a Bearer token — either an API key or an OAuth 2.0
    access token. See the [Authentication
    guide](https://www.pickfu.com/docs/developers/authentication) for details.
  contact:
    name: PickFu Support
    email: support@pickfu.com
    url: https://www.pickfu.com
servers:
  - url: https://api.pickfu.com/v1
    description: Production
  - url: https://api.pickfu-sandbox.com/v1
    description: Sandbox
security:
  - bearerAuth: []
tags:
  - name: Surveys
    description: >-
      Create, retrieve, update, and publish surveys. Surveys are the core
      resource — each contains one or more questions with answer options.
  - name: Responses
    description: >-
      Retrieve individual responses (answers) for a survey, with pagination and
      per-question filtering.
  - name: Tags
    description: Organize surveys with tags. Tags are scoped to your team/account.
  - name: Projects
    description: >-
      Organize surveys into projects. Projects group related surveys and can be
      bookmarked or archived.
  - name: Traits
    description: >-
      Audience targeting and reporting traits used to reach specific
      demographics and segment survey results.
  - name: Playbooks
    description: >-
      Discover and retrieve step-by-step research playbooks. Each playbook is a
      structured sequence of polls designed for a specific research goal.
  - name: Help
    description: Search the PickFu help center for articles and guides.
  - name: Media
    description: >-
      Generate images from text prompts and upload media files to the PickFu
      CDN.
paths:
  /surveys/{id}/exports/csv:
    get:
      tags:
        - Surveys
      summary: Download survey CSV export
      description: >-
        Streams the CSV export of survey responses as `text/csv`. Use the
        `version` query parameter to switch between the v1 and v2 CSV formats —
        v2 is the default.


        Authentication: standard Bearer token, OR a short-lived signed token via
        the `t` query parameter (issued by `/v1/surveys/{id}/exports`).


        ### Prerequisites

        - Survey must be published and completed

        - Returns 409 Conflict if the survey is not yet ready for export

        - Returns 502 Bad Gateway if the upstream export service is unavailable


        Rate limit: 10 requests per minute per caller.
      operationId: getSurveyExportCsv
      parameters:
        - schema:
            type: string
            enum:
              - v1
              - v2
          in: query
          name: version
          required: false
          description: CSV export format version. Defaults to v2 (long-form) if omitted.
        - schema:
            type: string
            maxLength: 512
          in: query
          name: t
          required: false
          description: >-
            Optional short-lived signed token. When present and valid, the
            request is authenticated by the token instead of the Authorization
            header. Tokens are issued by the `/v1/surveys/{id}/exports` metadata
            endpoint.
        - schema:
            type: string
          in: path
          name: id
          required: true
          description: Survey GUID
      responses:
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
        '409':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
        '502':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        OAuth2 access token obtained via the authorization flow. Include in the
        Authorization header as: `Bearer {access_token}`

````