auth

Set Preferences

Persist the user's UI experience level so it follows them across devices.

Validates the enum server-side, then upserts onto the subscriptions row by user_id (creating a minimal row if none exists, mirroring capture-attribution). Uses the service-role key to bypass RLS.

post/api/auth/preferences

Request

  • Base URL: https://api.equity-rank.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.equity-rank.com/api/auth/preferences
  • Auth: HTTP bearer

Request body

experience_modestring required

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 2 revisions of this API.