Skip to main content
GET
Get current promoter referral links

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, it returns only the links related to the given campaign

Response

List of referral links

id
integer | null

ID of the link. null for the campaign's default link.

name
string

Name of the link. Default for the campaign's default link.

url
string

In the list response, the promoter's shareable tracking link for this destination. In the create and update responses, the destination page without tracking parameters; call the list endpoint for the tracking link.

destination_url
string

The page the link sends visitors to, without tracking parameters.

is_default
boolean | null

true for the campaign's default link, null otherwise.

source
enum<string>

campaign for links the campaign provides, promoter for links the promoter created.

Available options:
campaign,
promoter
sub_id
string | null
campaign
object