Create API key
Learn how to generate API keys for your Telegram bot with our step-by-step guide.
Last updated
Learn how to generate API keys for your Telegram bot with our step-by-step guide.
Last updated
To obtain an API key for your TGmembership bot, navigate to the /settings menu, then select "Developers" and then "API". Click on "Create new" to generate a key for making API requests.
Once you have created an endpoint, the "Create new" button will be replaced with "Delete" and "Refresh". You can use these options to delete your endpoint if you no longer need the API or to update the API key if it has been compromised.