Create tfa confirm new
Two-Factor Auth
Create tfa confirm new
Confirm a new 2FA method by verifying a code. - SMS flow: verifies Twilio code using two_factor_challenge + phone_number. After success, inserts user_tfa_methods row with method=“sms” if not present. - Authenticator flow: verifies TOTP code against provided secret If valid, encrypts secret and inserts user_tfa_methods row with method=“totp”. - Generates and returns backup codes if this is the user’s first ever 2FA method. - Sends email notification when 2FA method is added.
POST
Create tfa confirm new
Documentation Index
Fetch the complete documentation index at: https://vastai-80aa3a82-auto-openapi-preview-pr-4175.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key must be provided in the Authorization header
Body
application/json