Skip to main content
GET
/
api
/
v1
/
members
/
{userId}
/
upline
Get member's upline path
curl --request GET \
  --url https://app.mlm-platform.com/api/v1/members/{userId}/upline \
  --header 'x-tenant-api-key: <api-key>'
{
  "upline": [
    "<unknown>"
  ],
  "totalLevels": 123
}

Authorizations

x-tenant-api-key
string
header
required

Tenant API key for authentication

Path Parameters

userId
string<uuid>
required

Response

Upline path

upline
any[]
required
totalLevels
integer
required