Rewards (admin)

Give a user bonus rest days (support goodwill)

Changed on

Banks 1–3 bonus rest days, e.g. after an app bug broke a streak. They protect future missed days; past days are not rewritten. Stops at streak.bonus_rest_days_cap — added may be less than count (capped: true). The reason is kept in the activity log.

post/api/rewards/admin/users/{userId}/bonus-rest-days

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/rewards/admin/users/{userId}/bonus-rest-days
  • Auth
    HTTP bearer

Path parameters

userIdnumber required

Request body

countnumber

How many to add (1–3); the bank stops at the cap.

reasonstring

Example request

{
  "count": 1,
  "reason": "Streak broke on 12 Oct due to the sync bug (ticket #4821)"
}

Changes