v1

latestOpenAPI 3.0.3Proprietary2026-07-26162247330.6 KB
Auth

Retrieve email and password configuration

Retrieves the email and password authentication configuration for the specified branch's Neon Auth integration, including whether it is enabled and the email verification method.

get/projects/{project_id}/branches/{branch_id}/auth/email_and_password

Response

Returns the email and password configuration for Neon Auth

enabledboolean required

Whether email and password authentication is enabled

email_verification_method'link' | 'otp' required

The email verification method to use.

  • link: Sends a verification link via email
  • otp: Sends a one-time password (OTP) via email
require_email_verificationboolean required

Whether email verification is required before users can sign in

auto_sign_in_after_verificationboolean required

Whether users are automatically signed in after verifying their email

send_verification_email_on_sign_upboolean required

Whether to send a verification email when users sign up

send_verification_email_on_sign_inboolean required

Whether to send a verification email when users sign in

disable_sign_upboolean required

Whether to disable new user sign ups