Learn how to create, view, and revoke API keys for your blog
API keys are essential for authenticating requests to your blog's API. They allow you to control access and track usage. In this guide, we'll walk you through how to manage your API keys, including creating new keys, viewing existing keys, and revoking keys that are no longer needed.

To view your existing API keys, navigate to the API Keys page in your blog's dashboard. Here, you will see a list of all active API keys associated with your blog. Each entry displays the key's name, a prefix of the key, creation date, last used date, and expiration date if applicable. If no keys are present, a message will indicate that no API keys have been created yet.
To create a new API key, click the 'New Key' button. A form will appear where you can enter the following details:
Once you have filled in the details, click 'Generate' to create the key. The full API key will be displayed only once, so make sure to copy and store it securely. If you miss copying it, you will need to create a new key.
After creating a new API key, it will be displayed in a banner at the top of the page. You can copy the key to your clipboard by clicking the 'Copy' button. This is the only time the full key will be visible, so ensure you store it securely. Once copied, you can click 'Done' to dismiss the banner.
If you need to revoke an API key, locate the key in the list and click the trash icon. A confirmation prompt will appear. Click 'Confirm Revoke' to deactivate the key, or 'Cancel' to keep it active. Once revoked, the key cannot be used to access the API.
API keys are sensitive credentials. Ensure they are kept confidential and only shared with trusted parties. Regularly review and revoke keys that are no longer in use. Consider setting expiration dates for keys to automatically limit their lifespan.
Now that you know how to manage your API keys, explore our guides on integrating with third-party services and enhancing your blog's functionality with our API.