How to Manage and Rotate API Keys in the Agendalink App
Create a new API key
To create a new API key in the Agendalink app:
- Go to the Settings page
- Go to the API section
- In the API Keys view click the "Add API token" button
- Optionally set a name and the expiration date and click "Save"
- Copy the generated token
Please note that there is a limit of 10 API Keys per account.
Edit existing API key
- Go to the Settings page
- Go to the API section
- In the API Keys view click the overflow menu (…) next to your key, click "Edit"
- Edit the key name or change the expiration date and click "Save"
Delete an API key
- Go to the Settings page
- Go to the API section
- In the API Keys view click the overflow menu (…) next to your key, click "Delete"
- Confirm the deletion in the dialog modal
Keep your API keys safe
Securing your API keys is crucial, and they should be treated with the same level of confidentiality as passwords. To ensure the safety of your API keys, refrain from sharing them with others, keep them stored in a secure location, and rotate them frequently to minimize the risk of unauthorized access.
Rotating the API key:
Rotating an API key means generating a new key to replace the existing one, which can help enhance security and prevent unauthorized access.
To rotate your API key, follow these steps:
- Create a new API key.
- Update any scripts or applications that use the old API key with the new one.
- Test the updated scripts or applications to ensure they function properly with the new key.
- Delete the old API key to prevent any unauthorized access.
TIP: You can use the API's /keys endpoint to manage your API keys