---
updatedAt: 2026-06-09T14:26:04.000Z
agentTools:
  projectIndex: https://docs.conveyor.com/llms.txt
---

# POST Questionnaire Exports

Request an export of a filled questionnaire.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "portal-api",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://api.conveyor.com/api"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-KEY"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v2/questionnaires/{id}/exports": {
      "post": {
        "operationId": "post_v2-questionnaires-id-exports",
        "summary": "POST Questionnaire Exports",
        "description": "Request an export of a filled questionnaire.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "UUID of the questionnaire to export.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "export_type"
                ],
                "properties": {
                  "export_type": {
                    "type": "string",
                    "description": "Type of export. \"csv\" returns immediately. \"original\" repopulates the source document. \"summary\" creates a new summary document. If the original document is Excel-based, \"summary\" and \"original\" will both return XLSX. ",
                    "enum": [
                      "csv",
                      "original",
                      "summary"
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Questionnaire export request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "id",
                    "questionnaire_id",
                    "status",
                    "export_type",
                    "created_at"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "UUID of the export."
                    },
                    "questionnaire_id": {
                      "type": "string",
                      "description": "UUID of the questionnaire."
                    },
                    "status": {
                      "type": "string",
                      "description": "Export status. CSV exports return completed immediately.",
                      "enum": [
                        "pending",
                        "completed"
                      ]
                    },
                    "export_type": {
                      "type": "string",
                      "description": "Type of export.",
                      "enum": [
                        "csv",
                        "original",
                        "summary"
                      ]
                    },
                    "download_url": {
                      "type": "string",
                      "nullable": true,
                      "description": "Signed download URL with 7-day expiry. Null when pending."
                    },
                    "created_at": {
                      "type": "string",
                      "format": "date-time",
                      "description": "ISO 8601 datetime when the export was created."
                    },
                    "completed_at": {
                      "type": "string",
                      "format": "date-time",
                      "nullable": true,
                      "description": "ISO 8601 datetime when the export finished. Null when pending."
                    }
                  }
                },
                "examples": {
                  "Completed CSV export": {
                    "value": {
                      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                      "questionnaire_id": "d4e5f6a7-b8c9-0123-4567-89abcdef0123",
                      "status": "completed",
                      "export_type": "csv",
                      "download_url": "https://storage.example.com/exports/abc123.docx?token=...",
                      "created_at": "2026-06-01T10:00:00.000Z",
                      "completed_at": "2026-06-01T10:00:00.000Z"
                    }
                  },
                  "Pending document export": {
                    "value": {
                      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
                      "questionnaire_id": "d4e5f6a7-b8c9-0123-4567-89abcdef0123",
                      "status": "pending",
                      "export_type": "summary",
                      "download_url": null,
                      "created_at": "2026-06-01T10:00:00.000Z",
                      "completed_at": null
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```