v1

latestOpenAPI 3.0.32026-07-2226694862.5 KB
Affiliate Users

Get Affiliate User

Retrieve a single affiliate user by their user ID.

get/networks/affiliates/{affiliateId}/users/{userId}

Path parameters

affiliateIdinteger required

The ID of the affiliate whose user you want to fetch.

userIdinteger required

The ID of the user you want to fetch.

Query parameters

relationship'logins' | 'password_history' | 'api' | 'affiliate_status' | 'customizations'

Include additional related data in the response. Multiple relationships can be supplied by repeating the relationship query parameter. Supported values: logins (includes the user's list of logins), password_history (includes the user's password changes history), api (includes the user's API key and whitelisted IPs), affiliate_status (includes the status of the affiliate to which the user belongs), customizations (includes the user's customizations).

Response

network_affiliate_user_idinteger

Unique affiliate user ID.

network_idinteger

The network ID this user belongs to.

network_affiliate_idinteger

The affiliate ID this user belongs to.

first_namestring

The affiliate user's first name.

last_namestring

The affiliate user's last name.

emailstring

The affiliate user's email address. Is used to log in the platform.

titlestring

The affiliate user's title.

work_phonestring

The affiliate user's work phone number.

cell_phonestring

The affiliate user's cell phone number.

instant_messaging_idinteger

The ID of an instant messaging platform.

instant_messaging_identifierstring

The affiliate user's instant messaging identifier.

language_idinteger

The affiliate user's language ID.

timezone_idinteger

The affiliate user's timezone ID.

currency_idstring

The affiliate user's currency ID.

account_status'active' | 'inactive'

The affiliate user's account status. Can be either active or inactive.

time_createdinteger

Unix timestamp of when the user was created.

time_savedinteger

Unix timestamp of when the user was last updated.

Example response

{
  "time_created": 1734455015,
  "time_saved": 1734455015
}