get
https://api.vanta.com/v1/customer-trust/questionnaires/exports/
Retrieves the current status and result of a questionnaire export using the id received from either the POST /v1/customer-trust/questionnaires/exports endpoint or the v1.questionnaire.export-completed payload.
This endpoint utilizes a dynamic response schema that changes based on the value of the status field:
- pending: The export is currently in the queue or processing. Only base metadata is returned.
- completed: The export finished successfully. The response expands to include completedAt and a downloadUrl. This pre-signed URL is valid for 24 hours; if it expires, simply call this endpoint again to retrieve a fresh, active link.
- failed: The process encountered an error. The response expands to include failedAt and an errorMessage detailing the reason for failure.
Developers should first check the status string before attempting to access result-specific fields like downloadUrl or errorMessage.
