---
title: "Get questionnaire export status"
method: GET
path: "/customer-trust/questionnaires/exports/{id}"
tags: ["Customer Trust"]
---

# Get questionnaire export status

`GET /customer-trust/questionnaires/exports/{id}`

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:

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

## Path parameters

- `id` string, required

## Response `200`

The export status and, if completed, the download URL.

- CustomerTrustExportStatusResponse — Detailed status and result of a questionnaire export. When `status` is `"completed"`, the response includes a time-limited download URL.
  - `id` string, required — Unique identifier for the export job.
  - `status` 'pending' | 'completed' | 'failed', required — 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.
  - `format` 'original' | 'csv', required — The output format of the exported file.
  - `requestedAt` string, required — ISO 8601 timestamp indicating when the export was requested.
  - `completedAt` string — ISO 8601 timestamp indicating when the export completed successfully. Only present when `status` is `"completed"`.
  - `downloadUrl` string — Pre-signed URL for downloading the exported file. Valid for 24 hours from the time of this response. Only present when `status` is `"completed"`.
  - `expiresAt` string — ISO 8601 timestamp indicating when the download URL expires. After this time, request a new export. Only present when `status` is `"completed"`.
  - `failedAt` string — ISO 8601 timestamp indicating when the export failed. Only present when `status` is `"failed"`.
  - `errorMessage` string — Human-readable description of why the export failed. Only present when `status` is `"failed"`.

---

[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)
