Skip to main content
POST
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

Idempotency-Key
string

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

Maximum string length: 255
Example:

"d9105228-4a08-46b1-8b91-42fed586d383"

Api-Version-Date
string

Pins the request to a dated API version.

Example:

"2026-07-27"

Body

application/json
resource
enum<string>
required

The resource to export, 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
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, mirroring the dashboard table filters.

timezone
string

IANA timezone for date columns, e.g. America/New_York. Defaults to UTC.

Response

export created

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.