Auth Refresh Tier
Re-read the user's tier from PG and refresh the session cookie.
CR-H5 (2026-04-30): After Stripe Checkout the webhook can take 2–5s to update the user's tier. The frontend polls this endpoint (up to 10×, 1s apart) until tier changes from the pre-checkout value, then dispatches ol-tier-refreshed so TierGate re-evaluates gates without a page reload.
This is a read-only GET — no CSRF required (idempotent, no state change on the server beyond reading PG). The session cookie is refreshed in-place when the tier changes so subsequent /api/auth/me calls reflect the new tier without the client needing a full logout/login cycle.
GET is exempt from validate_csrf per the auth-route convention: read-only endpoints that carry no state mutation are guarded by require_auth (401) rather than CSRF (403). See auth_me + billing_trial_status siblings for prior art.
Request
- Base URL: https://www.oxfordledge.com (the document declares no server; this is the origin it was published from)
- URL: https://www.oxfordledge.com/api/auth/refresh-tier
- Auth: none declared
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.