Generating a New API Key
- Navigate to the “API Keys” section within your dashboard settings.
- Click the “Generate New API Key” button.
- Optionally, provide a descriptive label for the key (e.g., “Production Backend”, “Staging Server”) to help you identify it later.
- Click “Generate”.
pub_...) and the associated API Secret (e.g., sec_...).
:::danger IMPORTANT
Your API Secret is shown only once immediately after generation. You cannot retrieve it again.
- Copy the API Secret immediately and store it securely (e.g., in your environment variables, secrets manager).
- Do not share your API Secret or commit it to version control.
- Treat your API Secret like a password. :::
Viewing Existing Keys
The “API Keys” section of your dashboard lists all your generated keys. For security reasons, only the public API Key, its description, creation date, and status are displayed. Secrets are never shown again after initial generation.Revoking an API Key
If an API key is compromised or no longer needed:- Go to the “API Keys” section in your dashboard.
- Find the key you wish to revoke.
- Click the “Revoke” or “Delete” button associated with that key.
- Confirm the action.