# Verify OTP token and enable 2FA **POST /2fa/verify-otp** ## Servers - Local development server: http://localhost:8080 (Local development server) - Production server: https://middleware.example.com/api (Production server) ## Authentication methods - Bearer auth ## Parameters ### Body: application/json (object) - **otp_code** (string) 6-digit TOTP code ## Responses ### 200 OTP verified successfully ### 400 Invalid OTP ### 401 Unauthorized [Powered by Bump.sh](https://bump.sh)