Skip to main content
GET
JavaScript

Authorizations

Authorization
string
header
required

A company API key, company scoped JWT, app API key, or user OAuth token. You must prepend your key/token with the word 'Bearer', which will look like Bearer ***************************

Headers

Api-Version-Date
string

Pins the request to a dated API version.

Example:

"2026-07-27"

Path Parameters

id
string
required

The export ID, prefixed exprt_.

Response

expired export has no download link

created_at
string
required

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

download_url
string | null
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
enum<string>
required

The resource that was exported, e.g. receipts, members, or ads.

Available options:
ad_campaigns,
ad_groups,
ads,
members,
receipts,
unclaimed_memberships,
memberships,
tracking_links,
promo_codes,
resolutions,
disputes,
entries,
leads,
content_rewards_submissions,
invoices,
cancelation_reasons,
child_companies,
ledger_lines,
withdrawal_lines
Example:

"ad_campaigns"

status
enum<string>
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.

Available options:
pending,
processing,
completed,
failed,
expired
Example:

"pending"

updated_at
string
required

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