Rewards (admin)
Create a goal in the pool users pick from
Changed onpost/api/rewards/admin/goal-catalogue
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Request body
Example request
{
"rule_type": "log_days_in_window",
"rule_params": {
"source_type": "meal",
"days_required": 5,
"window_days": 7
}
}Changes
- info
endpoint added
- info