v1

latestSwagger 2.02026-07-1771241.1 KB
Referrals

Returns the history of referral acquisition for the provided user id.

get/users/{userId}/referral-acquisition-history

Path parameters

userIdstring required

ID of the user

Query parameters

daysinteger

Always is 5, cannot be changed due to DB schema

Headers

Authorizationstring required

Insert your access token

X-Account-Metadatastring

Insert your metadata token

Response

OK

datestring
t1integer
t2integer

Example response

[
  {
    "date": "2022-01-03",
    "t1": 22,
    "t2": 13
  }
]