Submit Login Code (Phone Mode)

View All Telegram Messaging API APIs →

Submit the login code Telegram delivered to the account in the Telegram app (not SMS). Only valid while the session status is WAITING_FOR_OTP. Send a JSON body with code. The call is accepted asynchronously — poll Get Session Status for the final result. If the account has two-factor authentication, the session then shows twoFactorRequired=true and you continue with Submit 2FA Password.

API Features

Simple code submit One code field completes the phone-number login step
Async acceptance Returns immediately; poll the session for the CONNECTED result
2FA handoff twoFactorRequired tells you exactly when to continue with the cloud password

Live API Demo

POST /api/project/telegram-messaging/verify-otp

API Response (JSON)

{}
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

View Subscription Plans →