Retrieves user profile or referral data. See full details from OpenAPI spec below.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Determines the type of data returned. If 'ref', returns referral data. Otherwise, returns profile data.
ref
, profile
Successful retrieval of user data (Profile or Referral).
The response is of type object
.