Validate a referral code (UCC) and discover associated user/campaign.
cURL
curl --request GET \ --url https://api.cello.so/referral-codes/{code} \ --header 'Authorization: Bearer <token>'
200
valid
{ "code": "UIPIWa2Hnnr", "productUserId": "12345678", "valid": true, "campaignId": "campaign_partners_1"}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Unique campaign code to validate
Referral code validation result
Was this page helpful?