API Credentials for Telegram Bot

Guide to obtaining tokens, keys, and connections.

To connect your Telegram bot with Botize you need the «Access Token» from @BotFather, Telegram's official bot for creating bots. It takes a couple of minutes.

Access Token (Bot Token)

  1. 1

    Open Telegram (the app or web.telegram.org). In the search box type BotFather and pick the one with the blue check. Watch out for copies: the real one is @BotFather, with millions of users.

  2. 2

    The chat with BotFather opens. Click START at the bottom.

  3. 3

    Type /newbot and send it. You can also type / and pick /newbot from the list.

  4. 4

    BotFather asks for a name for your bot. It is the name people will see, and you can change it later. Type it (for example «My Deal Bot») and send it.

  5. 5

    Now it asks for a username, which must end in bot (for example mydeals_bot). If it replies «Sorry, this username is already taken», that one exists: try another until it accepts it.

  6. 6

    BotFather replies «Done! Congratulations on your new bot» and, under «Use this token to access the HTTP API», gives you the token: a line like 123456789:AAF…. Select all of it, right-click and choose Copy Selected Text (on your phone, tap the token and it is copied). Don't share it with anyone.

  7. 7

    Go back to Botize, paste the token in Access Token and click Authorize. If you ever lose it or share it by mistake, use /token in BotFather to see it again or /revoke to change it.