v1

latestOpenAPI 3.0.1Vanta Terms of Service2026-07-26327517821.8 KB
Customer Trust

Create questionnaire export

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.

post/customer-trust/questionnaires/exports

Request body

questionnaireIdstring 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.

Example request

{
  "questionnaireId": "65a5d6e2f1a2b3c4d5e6f7a8",
  "format": "original"
}

Response

Export created

idstring 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.

requestedAtstring required

ISO 8601 timestamp indicating when the export was requested.

Example response

{
  "id": "507f1f77bcf86cd799439011",
  "status": "pending",
  "format": "original",
  "requestedAt": "2025-01-08T12:00:00.000Z"
}