Skip to main content
GET
/
rewards
/
stats
/
timeline
Get reward timeline data
curl --request GET \
  --url https://{subdomain}.nudj.cx/api/v2/analytics/rewards/stats/timeline
[
  {
    "date": "<string>",
    "earned": 123,
    "redeemed": 123
  }
]

Query Parameters

rewardId
string
required

The reward ID to get timeline for

startDate
string
endDate
string

Response

Successful response

date
string
required

Date in YYYY-MM-DD format

earned
number
required

Number of rewards earned on this date

redeemed
number
required

Number of rewards redeemed on this date

I