Coach

Record contact with the reward winner (REW-1160)

Changed on

Only for a prize assigned to the caller (404 otherwise). contacted when they reached the user outside the app chat (a call, an email), no_response when they tried and heard nothing back, pending to undo. contacted_at defaults to now. A message in the app chat marks it contacted on its own, and so does completing the prize. 409 if delivered.

post/api/coach/reward-tasks/{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