This section describes for how to get your application identifier and create a new Telegram app. You will need to obtain an api_id and api_hash to interact with the Telegram API by following:
Log in with your phone number and click the ‘Next‘ button. Then, a confirmation code will be sent on Telegram, type the confirmation code and click the ‘Sign In‘ button.
Sign In
On the telegram core page, go to the API Development Tools menu.
Telegram Core
A Create new application window will appear. Fill in your application details. There is no need to enter any URL, and only the first two fields (App title and Short name) can currently be changed later. Click on Create application at the end.
Create New Application
You will get basic addresses as well as the api_id and api_hash parameters required for user authorization.