Get Affiliate Link(s)
Returns affiliate links for your program, each enriched with its click, referral and sale counts, the revenue it has generated, and a ready-to-share full URL for every base URL configured on your program.
Filter by id or link for one link, or by affiliateId / affiliateEmail for every link an affiliate owns. With no parameters, every link in the program is returned.
This endpoint always returns an array. A filter that matches nothing returns [].
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
The affiliate link's UUID.
The link slug, for example jane-doe.
Return every link owned by this affiliate UUID.
Return every link owned by the affiliate with this email address.
Response
The matching affiliate links. Empty when nothing matched.
The affiliate link ID
The affiliate link string
Timestamp when the affiliate link was created
Timestamp when the affiliate link was last updated
The affiliate who owns this link. null if the link has no owner.
The program this link belongs to. null if the link has no program.
Number of clicks on this affiliate link
Number of referrals generated by this link
Number of sales generated by this link
Sum of totalEarned across every sale attributed to this link
One entry per base URL configured on your program, with the affiliate's tracking parameter and any program URL parameters already applied. Share these directly.