Check Promo

Public pre-sign-up check for the closed-beta promo gate.

Returns whether the submitted code is valid so the frontend can show a clean error before calling supabase.auth.signUp(). The real enforcement is a BEFORE INSERT trigger on auth.users (see SUPABASE_PROFILES_SETUP.md); this endpoint is purely for the user-facing message.

post/api/auth/check-promo

Request

  • Base URL
    https://app.pharos.bio (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Request body

promo_codestring

Response

Successful Response

unknown required

Changes

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