v8

OpenAPI 3.1.02026-08-033623795.0 MB
Exports

Retrieve Export

Fetches an export's status and, once complete, its download link.

get/exports/{id}

Response

export found

created_atstring required

When the export was requested, as an ISO 8601 timestamp.

download_urlstring nullable required

A short-lived link to download the finished CSV. null until status is completed, and again once the export has expired.

expires_atstring required

When the CSV is deleted and the export moves to expired, as an ISO 8601 timestamp. Exports are retained for 30 days.

idstring required

Export ID, prefixed exprt_.

resource'ad_campaigns' | 'ad_groups' | 'ads' | 'audiences' | 'bounties' | 'bounty_submissions' | 'disputes' | 'events' | 'financial-activity' | 'members' | 'memberships' | '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_atstring required

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

Example response

{
  "resource": "ad_campaigns",
  "status": "pending"
}