---
title: "Export Completed"
method: POST
path: "export.completed"
tags: ["Exports"]
---

# Export Completed

`POST export.completed` (webhook)

Sent when a export is completed

Required permissions:
 - `webhook_receive:exports`

## Headers

- `webhook-id` string, required — A unique identifier for this webhook request
- `webhook-signature` string, required — The signature of the webhook request with the webhook version prepended
- `webhook-timestamp` string, required — The timestamp in seconds since the Unix epoch that the webhook was sent at on the server

## Payload

- object
  - `api_version` 'v1', required — The API version for this webhook
  - `api_version_date` string, nullable, required — The dated API version (Api-Version-Date) the payload is serialized to
  - `company_id` string, nullable — The account ID that this webhook event is associated with
  - `data` 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 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.
  - `id` string, required — A unique ID for every single webhook request
  - `timestamp` string, date-time, required — The timestamp in ISO 8601 format that the webhook was sent at on the server
  - `type` 'export.completed', required — The webhook event type

## Acknowledgement `200`

Return a 200 status to indicate that the data was received successfully

---

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