Rewards (admin)
Create a draft challenge
Changed onpost/api/rewards/admin/challenges
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": "any",
"days_required": 6
},
"audiences": [
{
"relationship": "client"
}
],
"test_user_ids": [
1074
],
"tracker_style": "menorah",
"notifications": {
"launch": true,
"nudge": true,
"last_day": true
}
}Changes
- info
added the new optional request property
- info
- info
endpoint added
- info