Skip to main content
GET
/
affiliates
/
session
Get Current Session
curl --request GET \
  --url https://api.eflow.team/v1/affiliates/session \
  --header 'X-Eflow-Api-Key: <api-key>'
{
  "user": {
    "network_affiliate_user_id": 123,
    "email": "<string>",
    "first_name": "<string>",
    "last_name": "<string>"
  },
  "network_affiliate_id": 123,
  "network_id": 123
}

Authorizations

X-Eflow-Api-Key
string
header
required

The affiliate's API key generated from the Affiliate Portal. Uses the X-Eflow-Api-Key header.

Response

200 - application/json

OK

user
object

The authenticated user's details.

network_affiliate_id
integer

The affiliate account ID.

network_id
integer

The network ID.