If you are working on a custom app requiring to call your bot via API, you will need the Bot ID.
To get your Bot ID, from the bot page, click on the Settings

2000

📘

What Bot should I use if I use the Masterbot / Microbots architecture?

In this case, use the Main bot Bot ID.