auth

Email Verify And Login

Passwordless login: verify OTP code, then log in or create account.

Single endpoint — no password involved. Returns AuthSessionResponse. Uses constant-time behavior whether the account is new or existing.

post/api/auth/email/verify-and-login

Request

  • Base URL: https://api.retirementlab.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.retirementlab.app/api/auth/email/verify-and-login
  • Auth: none declared

Request body

emailstring required
codestring required
terms_acceptedboolean
marketing_email_opt_inboolean

Response

Successful Response

anonymousboolean
account_tierstring
scenario_capinteger
run_capinteger
runs_remaininginteger
billing_enabledboolean
has_stripe_customerboolean
paid_access_expires_atstring date-time
billing_planstring
has_active_subscriptionboolean
can_start_stripe_checkoutboolean
can_start_store_purchaseboolean
trial_eligibleboolean
pro_plan_price_usdinteger
free_n_scenariosinteger
signup_conversionboolean
missing_terms_acceptanceboolean
auth_tokenstring
auth_token_expires_atstring date-time

Changes

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