Skip to main content
POST
/
networks
/
affiliates
/
{affiliateId}
/
referrals
Create Affiliate Referral
curl --request POST \
  --url https://api.eflow.team/v1/networks/affiliates/{affiliateId}/referrals \
  --header 'Content-Type: application/json' \
  --header 'X-Eflow-Api-Key: <api-key>' \
  --data '
{
  "referring_affiliate_id": 123
}
'
{
  "result": true
}

Authorizations

X-Eflow-Api-Key
string
header
required

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

Path Parameters

affiliateId
integer
required

The affiliate ID being referred.

Body

application/json
referring_affiliate_id
integer

The ID of the affiliate who made the referral.

Response

200 - application/json

OK

result
boolean

Whether the referral was created successfully.