Rewards (admin analytics)
Top performers by points, level, streak or prizes earned
Changed onget/api/rewards/admin/analytics/leaderboard
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Query parameters
fromstring
First local day, inclusive (YYYY-MM-DD). Defaults to the launch day.
tostring
Last local day, inclusive (YYYY-MM-DD). Defaults to today.
timezonestring
IANA zone the days are read in. Defaults to America/New_York.
launchFromstring
Rewards launch day (YYYY-MM-DD). Defaults to the day the first points were earned.
includeStaffboolean
Count coaches, PCs, admins and internal/tester accounts too.
metric'points_total' | 'points_in_range' | 'level' | 'current_streak' | 'best_streak' | 'prizes_earned'
limitnumber
Changes
- info
endpoint added
- info