Submit 2FA Password
View All Telegram Messaging API APIs →Submit the Telegram two-factor (cloud) password. Only valid while the session shows twoFactorRequired=true (phone mode after Verify OTP, or QR mode after scanning). Send a JSON body with password. The call is accepted asynchronously — poll Get Session Status until it reads CONNECTED.
API Features
Cloud password step Completes login for accounts protected by two-factor authentication
Works in both modes Applies after phone-mode OTP or after a QR scan
Async acceptance Returns immediately; poll the session for the CONNECTED result
Live API Demo
🔒 Sign in to try it live
Log in to call this API with your own API key. New accounts get 100 free credits — no card required.
Log in / Sign upNo active API key found. Create one in your Dashboard, then reload this page. Dashboard →
POST
/api/project/telegram-messaging/submit-password API Response (JSON)
{} Query Result
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Use Cases
- Finish login for 2FA-protected accounts in an onboarding flow
- Unlock a QR login that prompted for the cloud password after scanning