Comment on page

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.
Screenshot showing the process of creating an API endpoint for TGmembership bot
Create a unique API key for your TGmembership bot
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.
Screenshot of TGmembership API endpoint settings with "Delete Endpoint" and "Revoke Endpoint" buttons displayed.
The "Delete Endpoint" and "Revoke Endpoint" buttons can be used to delete your endpoint or update your API request link
Last modified 6mo ago