Choose one favorite in a shared review set

Requires a valid signed visit receipt bound to this link. First choice per visit wins; counts are visible to the link owner. Browser visits are not verified unique humans.

post/api/shares/{token}/preference

Request

  • Base URL: https://api.peelaway.io
  • URL: https://api.peelaway.io/api/shares/{token}/preference
  • Auth: one of:
    • none
    • API key in cookie better-auth.session_token

Path parameters

tokenstring required

Request body

receiptstring required
indexinteger required
anonymousIdstring uuid

Response

Preference saved or prior choice retained

Changes

No recorded changes to this operation across all 1 revision of this API.