Skip to main content
GET
Get chart data

Authorizations

Authorization
string
header
required

Your affiliate API key (Profile → API & AI tools in the affiliate dashboard), sent as Authorization: Bearer {api_key}

Headers

Account-ID
string
required

Account ID of the affiliate program, shown next to your API key under Profile → API & AI tools

Example:

"acc_123456"

Query Parameters

promoter_campaign_id
integer

If provided, the given promoter campaign will be used in chart. Otherwise all the current_promoter campaigns will be used.

period_from
string<date>
period_to
string<date>
selection
enum<string>
Available options:
revenue,
commissions,
clicks,
referrals,
customers,
cancellations

Response

401 - application/json

Unauthorized — the API key is missing, wrong, regenerated or disabled (no JSON response body is returned), or the Account-ID header is missing.

The response is of type object.