Rewards (admin)

Set the coach's outreach to a reward winner (REW-1160)

For an admin correcting or recording the current coach's contact with the user: contacted, no_response, or pending to undo. contacted_at defaults to now. Earlier coaches' outreach is history and is not changed here. 404 unknown grant; 409 not claimed, delivered, or no coach. Returns the row in the queue's shape.

post/api/rewards/admin/grants/{id}/outreach

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

status'pending' | 'contacted' | 'no_response' required

contacted: the coach reached the user. no_response: they tried and heard nothing back. pending: undo, back to not yet contacted.

contacted_atstring

When the contact (or last attempt) happened, ISO 8601. Defaults to now; ignored for pending. Not in the future, nor before the prize was claimed.

notestring

How they were reached, or what happened. Replaces any earlier note.

Changes