Rewards (admin)

Assign or swap the coach on a coach-chat prize

Changed on

For a claimed, undelivered coach-time chat prize that is in manual_review (no pool coach, host gone, DM failed, or missed past the reopen), or in progress with a coach whose window is still running (a swap, when that coach can't deliver in time). Opens the user's DM with the coach, starts a fresh access window, sets status fulfilled and pushes the user and new coach; on a swap the old coach loses the task and is pushed too. Rows show can_assign_coach. 404 unknown grant; 400 not an active coach; 409 not assignable (a call, a booked chat day, delivered, neither in review nor in progress), already with that coach, or the DM won't open. Returns the row in the queue's shape.

post/api/rewards/admin/grants/{id}/assign-coach

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

idnumber required

Request body

coach_idnumber required

An active coach user id — normally one from the reward coach pool.

Changes