Skip to main content
GET
/
new-users
/
{productUserId}
/
reward
cURL
curl --request GET \
  --url https://api.cello.so/new-users/{productUserId}/reward \
  --header 'Authorization: Bearer <token>'
{
"eligible": true,
"reward": {
"type": "standard",
"interval": "month",
"intervalCount": 3,
"percentage": 20
},
"signupId": "signup_abc123",
"signupAt": "2024-01-15T10:30:00Z",
"referralUcc": "ucc_xyz789",
"campaignId": "campaign_id_123",
"campaignRevision": "v2"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

productUserId
string
required

The Id of the user you want to check

Response

New user reward and eligibility information

eligible
boolean
required

Whether the user is eligible for a new user discount

reward
object

Discount details if eligible

signupId
string

Unique identifier for the signup record

signupAt
string<date-time>

ISO 8601 timestamp when the user signed up

referralUcc
string

The UCC (Unique Customer Code) that referred this user

campaignId
string

The campaign ID associated with the signup

campaignRevision
string

The campaign revision used for the reward calculation