TG API Direct Login (Web / Mobile / Client) with 2FA & Device Management
TG (Telegram) accounts support direct login via API on web, mobile and desktop clients. This tutorial covers login, changing the 2FA password and clearing authorized devices.
1. Enter the Phone Number on Any Device
Using the web as an example, open the Telegram web version, enter the account phone number and click login.
2. Receive the Verification Code
Open the code-receiving side and wait for the verification code.
3. Enter the Code and 2FA
Enter the verification code received.
If there is a 2FA second password, enter it too to complete login.
If the mobile login prompts to jump to email, just use the login code.
Change the 2FA Password (Web Example)
Go to "Privacy and Security" in Settings and change the password under Two-Step Verification.
Clear Authorized Devices
In "Settings - Devices", view and clear authorized devices. Note: clearing authorization invalidates the API - consider carefully before doing it.
- After login, confirm there are no abnormal devices to keep the account safe.









