API keys are used for authentication and authorization when another system or program calls the protected APIs.
To authorize a source to access an API endpoint, you need to pass the API key in the request.
Only super admin of the bot will have access to generate API keys.
Follow the below steps to generate API key:
On the bot Overview page, go to Access Control > API Keys.
To create a new API Key, click Generate new API key.
Name the API key in API Name and select User role from the dropdown.
Use Add whitelist IP to whitelist an IP (if it gets blocked from the firewall).
Copy the key and use it where you want to make an API call.
- Use the generated API key in Notification API or other development use cases.