Rewards (admin)

Give every member of a group points (admins and coaches)

Changed on

The same gift as users/:userId/points, to each active member. Staff and members outside the rewards rollout are skipped and listed in skipped ({ user_id, reason }). Re-sending the same request_id only gives it to members who did not get it yet (already_gifted).

post/api/rewards/admin/groups/{groupId}/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/groups/{groupId}/points
  • Auth
    HTTP bearer

Path parameters

groupIdnumber 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