Rewards

Answer a pending data-access consent ask, then complete the claim

Changed on

Only reached when claim returned status: "consent_needed" — some prizes (a coach call, a custom meal plan) need a coach to see something they don't otherwise have access to. Declining never voids the prize — either answer completes the claim the same way.

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

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}/consent
  • Auth
    HTTP bearer

Path parameters

idnumber required

Request body

decision'granted' | 'declined' required

Changes