Rewards (admin)

Rebuild a user's total and level from the ledger

Changed on

The recovery path the append-only ledger exists for. Safe to run at any time; it is the only supported way to fix a total that has gone wrong.

post/api/rewards/admin/users/{userId}/recalculate

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}/recalculate
  • Auth
    HTTP bearer

Path parameters

userIdnumber required

Changes