Exports

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

post/exports

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Idempotency-Key, string
Example:d9105228-4a08-46b1-8b91-42fed586d383

A unique key that makes this request safe to retry. See Idempotent requests.

Request body

object required
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 a native REST resource, such as payouts, transfers or products, these are the query params of its list endpoint. For a dashboard table, they are the table's filters.

resource, 'ad_campaigns' | 'ad_groups' | 'ads' | 'apps' | 'audiences' | 'bounties' | 'bounty_submissions' | 'card_transactions' | 'checkout_configurations' | 'disputes' | 'events' | 'external_accounts' | 'financial-activity' | 'payout_methods' | 'payouts' | 'people' | 'plans' | 'products' | 'receipt_invoices' | 'resolution_center_cases' | 'shipments' | 'social_accounts' | 'team_members' | 'transfers' | 'webhooks' | 'members' | 'receipts' | 'unclaimed_memberships' | 'memberships' | 'tracking_links' | 'promo_codes' | 'resolutions' | 'entries' | '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.

Example request

{
  "account_id": "biz_xxxxxxxxxxxxxx",
  "columns": [
    "member_user_name"
  ],
  "filters": {
    "include_resource": false,
    "posted_after": "2026-01-01T12:00:00.000Z",
    "posted_before": "2026-01-01T12:00:00.000Z"
  },
  "resource": "financial-activity",
  "timezone": "America/Chicago"
}

Response

export created

Export required
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 file. null until status is completed, and again once the export has expired.

expires_at, string required

When the file 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_.

progress_percent, integer nullable required

Estimated completion percentage from 0 to 100.

resource, 'ad_campaigns' | 'ad_groups' | 'ads' | 'apps' | 'audiences' | 'bounties' | 'bounty_submissions' | 'card_transactions' | 'checkout_configurations' | 'disputes' | 'events' | 'external_accounts' | 'financial-activity' | 'payout_methods' | 'payouts' | 'people' | 'plans' | 'products' | 'receipt_invoices' | 'resolution_center_cases' | 'shipments' | 'social_accounts' | 'team_members' | 'transfers' | 'webhooks' | 'members' | 'receipts' | 'unclaimed_memberships' | 'memberships' | 'tracking_links' | 'promo_codes' | 'resolutions' | 'entries' | '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 file is generated, completed when the download is ready, failed if it errored, expired once the file has been deleted.

updated_at, string required

When the export last changed, as an ISO 8601 timestamp.

Example response

{
  "created_at": "2026-01-01T12:00:00.000Z",
  "download_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "expires_at": "2026-01-01T12:00:00.000Z",
  "id": "exprt_xxxxxxxxxxxxxx",
  "resource": "members",
  "status": "completed",
  "updated_at": "2026-01-01T12:00:00.000Z"
}

Changes

    • info

      the security scope access_pass:basic:read was added to the endpoint's security scheme bearerAuth

    • info

      the security scope tracking_link:basic:export was removed from the endpoint's security scheme bearerAuth

    • info

      the security scope access_pass:basic:read was added to the endpoint's security scheme bearerAuth

    1 more change in this revision