v1

latestOpenAPI 3.0.12026-08-062532117.6 KB

Get affiliate(s)

Returns a single affiliate when id or email is supplied, or every affiliate in the program when neither is. Looking up an affiliate that does not exist returns null with a 200, not a 404.

Each affiliate includes an affiliateLinks array holding every referral link slug they own — this is the source of truth for links. The legacy link field is deprecated and is usually null; use the affiliate link endpoints to manage links.

get/affiliates

Query parameters

idstring

Identifies one affiliate. Accepts the affiliate's UUID, one of their affiliate link slugs, or a numeric click ID (the click's affiliate is returned).

emailstring email

The email address of the affiliate to retrieve. Ignored when id is set.

Response

A single affiliate when filtering by id or email (null if no match), otherwise every affiliate in the program.

OR
All 25 operations