Skip to main content
POST
/
customer-trust
/
questionnaires
/
exports
Create questionnaire export
curl --request POST \
  --url https://api.vanta.com/v1/customer-trust/questionnaires/exports \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "questionnaireId": "65a5d6e2f1a2b3c4d5e6f7a8",
  "format": "original"
}
'
{
  "id": "507f1f77bcf86cd799439011",
  "status": "pending",
  "format": "original",
  "requestedAt": "2025-01-08T12:00:00.000Z"
}

Documentation Index

Fetch the complete documentation index at: https://vanta.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request body for creating a questionnaire export.

questionnaireId
string
required

Unique identifier for the questionnaire to trigger an export for.

Example:

"65a5d6e2f1a2b3c4d5e6f7a8"

format
enum<string>
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.
Available options:
original,
csv
Example:

"original"

Response

202 - application/json

Export created

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.

Example:

"507f1f77bcf86cd799439011"

status
enum<string>
required

Processing status of the export. Newly created exports always start as "pending".

Available options:
pending,
completed,
failed
Example:

"pending"

format
enum<string>
required

The requested output format for the export.

Available options:
original,
csv
Example:

"original"

requestedAt
string
required

ISO 8601 timestamp indicating when the export was requested.

Example:

"2025-01-08T12:00:00.000Z"