Retrieves the current status and result of a questionnaire export using the id received from either the createQuestionnaireExport endpoint or the v1.questionnaire.export-completed webhook payload.
This endpoint utilizes a dynamic response schema that changes based on the value of the status field:
Developers should first check the status string before attempting to access result-specific fields like downloadUrl or errorMessage.
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.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier of the export job, returned from the POST endpoint.
The export status and, if completed, the download URL.
Detailed status and result of a questionnaire export.
When status is "completed", the response includes a time-limited download URL.
Unique identifier for the export job.
"507f1f77bcf86cd799439011"
Processing status of the export.
"pending": Export is still being processed."completed": Export finished successfully. Download URL is available."failed": Export failed. See errorMessage for details.pending, completed, failed "completed"
The output format of the exported file.
original, csv "original"
ISO 8601 timestamp indicating when the export was requested.
"2025-01-08T12:00:00.000Z"
ISO 8601 timestamp indicating when the export completed successfully.
Only present when status is "completed".
"2025-01-08T12:05:00.000Z"
Pre-signed URL for downloading the exported file. Valid for 24 hours from the time of this response.
Only present when status is "completed".
"https://storage.example.com/exports/questionnaire-export.xlsx?token=..."
ISO 8601 timestamp indicating when the download URL expires. After this time, request a new export.
Only present when status is "completed".
"2025-01-09T12:00:00.000Z"
ISO 8601 timestamp indicating when the export failed.
Only present when status is "failed".
"2025-01-08T12:03:00.000Z"
Human-readable description of why the export failed.
Only present when status is "failed".
"The questionnaire contains unsupported question types."