---
title: "Create Export"
method: POST
path: "/exports"
tags: ["Exports"]
---

# Create Export

`POST /exports`

Starts an asynchronous CSV export of a resource for an account. Returns the export in `pending`; poll `GET /exports/{id}` until `download_url` is set.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `account_id` string — The account to export from, prefixed `biz_`. Defaults to the credential's account.
  - `columns` string[] — Column keys to include. Empty means all columns for the resource.
  - `filters` object — Resource-specific filters. For native REST resources (`payouts`, `transfers`, `memberships`) these are the resource's own list query params; for dashboard tables they mirror the dashboard table filters.
  - `resource` 'ad_campaigns' | 'ad_groups' | 'ads' | 'apps' | 'audiences' | 'bounties' | 'bounty_submissions' | 'card_transactions' | 'checkout_configurations' | 'disputes' | 'events' | 'financial-activity' | 'members' | 'memberships' | 'payout_methods' | 'payouts' | 'people' | 'plans' | 'products' | 'resolution_center_cases' | 'shipments' | 'social_accounts' | 'team_members' | 'transfers' | 'webhooks' | 'receipts' | 'unclaimed_memberships' | 'tracking_links' | 'promo_codes' | 'resolutions' | 'entries' | 'leads' | 'content_rewards_submissions' | 'invoices' | 'cancelation_reasons' | 'child_companies', required — The resource to export, e.g. `payouts`, `receipts`, or `members`.
  - `timezone` string — IANA timezone for date columns, e.g. `America/New_York`. Defaults to `UTC`.

## Response `201`

export created

- Export
  - `created_at` string, required — When the export was requested, as an ISO 8601 timestamp.
  - `download_url` string, nullable, required — A short-lived link to download the finished CSV. `null` until `status` is `completed`, and again once the export has expired.
  - `expires_at` string, required — When the CSV is deleted and the export moves to `expired`, as an ISO 8601 timestamp. Exports are retained for 30 days.
  - `id` string, required — Export ID, prefixed `exprt_`.
  - `resource` 'ad_campaigns' | 'ad_groups' | 'ads' | 'apps' | 'audiences' | 'bounties' | 'bounty_submissions' | 'card_transactions' | 'checkout_configurations' | 'disputes' | 'events' | 'financial-activity' | 'members' | 'memberships' | 'payout_methods' | 'payouts' | 'people' | 'plans' | 'products' | 'resolution_center_cases' | 'shipments' | 'social_accounts' | 'team_members' | 'transfers' | 'webhooks' | 'receipts' | 'unclaimed_memberships' | 'tracking_links' | 'promo_codes' | 'resolutions' | 'entries' | 'leads' | 'content_rewards_submissions' | 'invoices' | 'cancelation_reasons' | 'child_companies' | 'ledger_lines' | 'withdrawal_lines', required — The resource that was exported, e.g. `receipts`, `members`, or `payouts`.
  - `status` 'pending' | 'processing' | 'completed' | 'failed' | 'expired', required — `pending` or `processing` while the CSV is generated, `completed` when the download is ready, `failed` if it errored, `expired` once the CSV has been deleted.
  - `updated_at` string, required — When the export last changed status, as an ISO 8601 timestamp.

## Other responses

- `400` — Invalid Parameters
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/whop/apis/whop-api.md) · [All operations](https://skmtc.net/whop/apis/whop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/whop/whop-api/versions/db0883548bc5/schema)
