Skip to main content
GET
List affiliates

Authorizations

X-API-Key
string
header
required

Pass the API key in the X-API-Key HTTP request header. The user account must have api_status enabled.

Query Parameters

page
integer

Page number.

perPage
integer

Items per page.

sortField
string

Sort field.

sortDirection
enum<string>

Sort direction.

Available options:
asc,
desc

Search by text or ID.

status
enum<string>

Filter by affiliate account status. One value only — a comma-separated list is not supported and falls back to the unfiltered list, as does any unrecognised value (200, no error). Deleted accounts (status 5) are never returned by this endpoint and cannot be selected with any value. suspended selects status 3 (SCL-13782); inactive is the former name of the same filter and is still accepted, so saved filters and existing integrations keep working.

Available options:
active,
pending,
suspended,
inactive
stage
string

SCL-13782. Filter by lifecycle stage. Comma-separated slugs are supported and match any of them. Allowed values: new, verification, negotiation, onboarding, live, scaling, vip, at_risk, no_activity, dropped. A value outside this set fails validation and the list comes back empty — it is never ignored. For example, stage=live,negotiation returns the affiliates on either of those two.

geo
string

SCL-13782. Filter by the affiliate's declared traffic countries. Comma-separated country IDs (geoname_id); an affiliate matches when its geo contains any of them. Matching is on whole IDs, so a prefix of an ID matches nothing. A non-numeric value fails validation and the list comes back empty. Distinct from the registration country of the affiliate profile. For example, geo=3469034,2635167 returns the affiliates declaring traffic from either country.

fields
string

Comma-separated list of top-level response fields to return, e.g. fields=id,status,targeting. When omitted, the full field set for your role is returned. Unknown field names are ignored silently — the response still returns 200 with the recognised fields only. Not supported on the reporting endpoints: those select their payload with columns instead.

Response

Affiliates list.

status
string
Example:

"success"

code
integer
Example:

200

name
string
Example:

"OK"

message
string
info
object