---
title: "Get a single export"
method: GET
path: "/exports/{export_id}"
tags: ["Export"]
---

# Get a single export

`GET /exports/{export_id}`

## Request

- Base URL: `https://api.gocardless.com`
- URL: `https://api.gocardless.com/exports/{export_id}`
- Auth: HTTP bearer

Returns a single export.

<p class="restricted-notice"><strong>Restricted</strong>: This endpoint is restricted to GoCardless Embed customers. Please [contact us](https://forms.gocardless.com/l/305971/2023-01-25/535t8n){:target="_blank"} if you are interested in using this product.</p>

## Path parameters

- `export_id` string, required

## Headers

- `GoCardless-Version` string, required

## Response `200`

Successful response

- ExportSingleResourceResponse
  - `exports` Export: File-based exports of data
    - `id` string: Unique identifier, beginning with "EX".
    - `created_at` string, date-time: Fixed [timestamp](https://docs.gocardless.com/docs/api-reference/data-conventions#dates-and-times), recording when this resource was created.
    - `export_type` 'payments_index' | 'events_index' | 'refunds_index' | 'payouts_index' | 'customers_index' | 'subscriptions_index' | 'payment_events' | 'subscription_events' | 'payout_events' | 'refund_events' | 'mandate_events' | 'payout_events_breakdown' | 'payout_events_reconciliation' | 'payout_transactions_breakdown' | 'payout_transactions_reconciliation' | 'authorisation_requests' | 'customer_bank_accounts' | 'users' | 'organisation_authorisations' | 'app_connected_organisations' | 'gc_invalid_authorisation_requests' | 'partner_fees' | 'payments_import_template' | 'payment_account_statement' | 'outbound_payments_index' | 'payment_account_transactions': The type of the export
    - `download_url` string, nullable: Download url for the export file. Subject to expiry.
    - `currency` string: The currency of the export (if applicable)
    - `error_message` string, nullable: Error message if the export encountered an error during processing.

## Other responses

- `400`: Bad Request
- `401`: Unauthorised
- `404`: Not found
- `422`: Validation Error
- `500`: Internal Error

---

[API](https://skmtc.dev/gocardless/apis/gocardless-api.md) - [All operations](https://skmtc.dev/gocardless/apis/gocardless-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gocardless/apis/gocardless-api/revisions/4dd3dae45364?raw)
