Rewards (admin)

Give a user points (admins and coaches)

Changed on

Adds 1–5000 points to a client, member or lead in the rewards rollout. They land on the user's next app open as credited_now ("+500 · reason") and count toward levels, so a level crossed brings its prize. Gifts only add — points can never be taken back. Send a fresh request_id per submit: the same one again returns gifted: false and gives nothing.

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

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

Path parameters

userIdnumber required

Request body

amountnumber required

Points per user, 1–5000.

reasonstring required

Shown to the user in the app when the points land.

notestring

Internal only — kept in the activity log, never shown to the user.

request_idstring

A fresh UUID per submit. Sending the same one again (a double click, a retry) never gives the points twice. Omit and every call is a new gift.

Example request

{
  "amount": 500,
  "reason": "Thanks for joining the 30-day challenge",
  "note": "October webinar attendees",
  "request_id": "0b6c1f5e-6a51-4c3e-9a0e-2f7f0c4d9b1a"
}

Changes