Rewards

Take the comparable prize instead of the call

Changed on

Only while no slot is open (409 SLOTS_OPEN otherwise). Swaps the prize for the substitute from GET slots and delivers it — returns a claim result (next_action, usually open_chat). 409 NO_SUBSTITUTE when nothing qualifies.

post/api/rewards/grants/{id}/substitute

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/grants/{id}/substitute
  • Auth
    HTTP bearer

Path parameters

idnumber required

Changes