How to get 'api_id' and 'api_hash'

1. Join Official Telegram site

(This is official site for 'manage app') https://my.telegram.org/apps

2. Enter your mobile number with country code and click 'Next'

(search country code in here: https://countrycode.org)

3. You will get confirmation code from the telegram app.

(text and code could be different based on country, etc)

4. enter this code and click 'sign in'

5. Type 'qwerasdf' in 'App title' and 'Short Name' and 'URL'

6. Click 'create application'

7. Now you have 'api_id' and 'api_hash'

troubleshooting

Incorrect app name&#33

  • use alphanumeric, 5-32 characters

my.telegram.org says ERROR my.telegram.org says [object Object] my.telegram.org says blahblah

  1. Use chrome, not internet explorer or edge

  2. If not worked by 1, don't use AD block and VPN.

  3. If not worked by 2, use incognito mode in chrome

Last updated