get
https://{host}/v2/referral/validate
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Query parameter
| Parameter | Description |
|---|---|
| code | Unique referral code to validate. |
Response parameter
| Parameter | Description |
|---|---|
| valid | Indicates whether the operation or request is valid. |
| referrer | ID of the referrer. |
| warnings | A list of warnings related to the operation or request. |
If the referral code exists but its creation date is outside the campaign's start and end dates, the API returns {"valid": false, "referrer": -1}. This means the code is not valid for the current campaign period, even if the code itself is correct.
