GET
/
referral-codes
/
{code}
cURL
curl --request GET \
  --url https://api.cello.so/referral-codes/{code} \
  --header 'Authorization: Bearer <token>'
{
"code": "UIPIWa2Hnnr",
"productUserId": "12345678",
"valid": true,
"campaignId": "campaign_partners_1"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

code
string
required

Unique campaign code to validate

Response

200
application/json

Referral code validation result

The response is of type object.