Shared waitlist backend for the landing pages in this account.
Accepts CORS from any origin.
{
"email": "[email protected]",
"product": "fluentpal"
}Returns { "ok": true, "stored": "kv" | "log-only" }.
Returns waitlist entries for the given product. Pass product=all to get everything.
Uses Vercel KV (Upstash Redis) when these env vars are set:
KV_REST_API_URLKV_REST_API_TOKEN
Without them, writes go to Vercel logs only (still functional for testing).
- Connect a Vercel KV store in the Vercel dashboard (Storage tab → Create → KV). Env vars are auto-injected.
- Set
ADMIN_KEYto a random string (Project Settings → Environment Variables). - Redeploy.