GET/api/v2/users/{userId}/referrals/level-lifecycle

GET /api/v2/users/{userId}/referrals/level-lifecycle

Authentication

Send your API key in the x-api-key header on every request.

Parameters

Request parameters
FieldTypeRequiredDescription
userId (path)integer (int32)Yes
programId (query)string (uuid)No

Responses

200 — OK

Response 200 fields
FieldTypeRequiredDescription
ProgramIdstring (uuid)Yes
UserIdunknownYes
AsOfstring (date-time)Yes
ObservedAtstring (date-time)Yes
CurrentLevelobjectYes
AssignedbooleanYes
ProgressReferralMetricProgressResponseYesProgress towards the next visible level. Basis/CurrentValue/NextThreshold/Remaining are the legacy single-metric view (qualified referrals); the per-condition fields are null when the next level does not set that condition and 0 when it is already met.
ForecastobjectYes
ProtectedRelationshipCountunknownYes
ExistingOffersProtectedbooleanNo
ForecastAssumptionstringNo

Example request

curl -X GET "https://{base_url}/api/v2/users/{userId}/referrals/level-lifecycle" \
  -H "x-api-key: YOUR_API_KEY"

This page is generated from the live OpenAPI specification and always matches the current API.