Auth

Request email OTP verification code

Creates a pending email verification and sends a 6-digit OTP code via email. When EMAIL_VERIFICATION_REQUIRED is disabled, or skipVerification is true (paid funnel), auto-verifies and returns a Firebase custom token.

post/v1/auth/email-otp/request

Headers

accept-languagestring required

Request body

emailstring required
firebaseUidstring
skipVerificationboolean

When true, marks the user as email-verified without sending OTP. Used by paid funnel create-account.

localestring

UI locale for the email copy (bare code or BCP-47); falls back to Accept-Language, then English

Example request

{
  "email": "user@example.com",
  "firebaseUid": "firebase-uid-123",
  "locale": "de"
}

Response

OTP sent (empty body) or email auto-verified (body with firebaseCustomToken)

firebaseCustomTokenstring

Present when email verification is disabled — use to sign in directly

firebaseUidstring

Changes

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