---
title: "Create questionnaire export"
method: POST
path: "/customer-trust/questionnaires/exports"
tags: ["Customer Trust"]
---

# Create questionnaire export

`POST /customer-trust/questionnaires/exports`

Creates an asynchronous export job for a questionnaire. The export processes in the background
and typically completes within a few minutes depending on questionnaire size.

Subscribe to the `v1.questionnaire.export-completed` and `v1.questionnaire.export-failed` webhook events to be notified when an export completes or fails.
Use the returned `id` with the "getQuestionnaireExport" endpoint to retrieve the download URL once the export completes.

## Request body

- CustomerTrustCreateQuestionnaireExportInput — Request body for creating a questionnaire export.
  - `questionnaireId` string, required — Unique identifier for the questionnaire to trigger an export for.
  - `format` 'original' | 'csv', required — The output format for the exported questionnaire. - `"original"`: Exports in the questionnaire's native format (XLSX for spreadsheets, DOCX for documents). - `"csv"`: Exports as a CSV file, suitable for data analysis or import into other systems.

## Response `202`

Export created

- CustomerTrustCreateQuestionnaireExportResponse — Response returned when a questionnaire export is created. Use the `id` to poll the GET endpoint for export status and download URL.
  - `id` string, required — Unique identifier for the export job. Use this ID to check export status.
  - `status` 'pending' | 'completed' | 'failed', required — Processing status of the export. Newly created exports always start as `"pending"`.
  - `format` 'original' | 'csv', required — The requested output format for the export.
  - `requestedAt` string, required — ISO 8601 timestamp indicating when the export was requested.

---

[API](https://skmtc.net/vanta/apis/build-integrations.md) · [All operations](https://skmtc.net/vanta/apis/build-integrations/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vanta/build-integrations/revisions/6c1f7590538b/schema)
