Skip to main content
GET
/
networks
/
affiliates
/
{affiliateId}
/
users
/
{userId}
Get Affiliate User
curl --request GET \
  --url https://api.eflow.team/v1/networks/affiliates/{affiliateId}/users/{userId} \
  --header 'X-Eflow-Api-Key: <api-key>'
{
  "network_affiliate_user_id": 17,
  "network_id": 1,
  "network_affiliate_id": 13,
  "first_name": "Bob",
  "last_name": "Smith",
  "email": "my.everflow@gmail.com",
  "title": "CEO",
  "work_phone": "9655433513",
  "cell_phone": "",
  "instant_messaging_id": 0,
  "instant_messaging_identifier": "",
  "language_id": 1,
  "timezone_id": 75,
  "currency_id": "USD",
  "account_status": "active",
  "relationship": {
    "affiliate_account_status": "active"
  }
}

Authorizations

X-Eflow-Api-Key
string
header
required

The Everflow API key generated from the Control Center > Security.

Path Parameters

affiliateId
integer
required

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

userId
integer
required

The ID of the user you want to fetch.

Query Parameters

relationship
enum<string>

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).

Available options:
logins,
password_history,
api,
affiliate_status,
customizations

Response

network_affiliate_user_id
integer

Unique affiliate user ID.

network_id
integer

The network ID this user belongs to.

network_affiliate_id
integer

The affiliate ID this user belongs to.

first_name
string

The affiliate user's first name.

last_name
string

The affiliate user's last name.

email
string

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

title
string

The affiliate user's title.

work_phone
string

The affiliate user's work phone number.

cell_phone
string

The affiliate user's cell phone number.

instant_messaging_id
integer

The ID of an instant messaging platform.

instant_messaging_identifier
string

The affiliate user's instant messaging identifier.

language_id
integer

The affiliate user's language ID.

timezone_id
integer

The affiliate user's timezone ID.

currency_id
string

The affiliate user's currency ID.

account_status
enum<string>

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

Available options:
active,
inactive
relationship
object

Related data for this affiliate user. Populate by passing relationship query parameters (e.g. ?relationship=logins&relationship=api).

time_created
integer

Unix timestamp of when the user was created.

Example:

1734455015

time_saved
integer

Unix timestamp of when the user was last updated.

Example:

1734455015