Create API key

Learn how to generate API keys for your Telegram bot with our step-by-step guide.

To obtain an API key for your TGmembership bot, navigate to the /settings menu and select "API". Click on "Create endpoint" to generate a unique link for making API requests.

Once you have created an endpoint, the "Create Endpoint" button will be replaced with "Delete Endpoint" and "Revoke Endpoint". You can use these options to delete your endpoint if you no longer need the API or to update the API request link if it has been compromised.

Last updated