> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mailofly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Manage API Keys

> How to view, create, and revoke API keys in Mailofly.

API keys authenticate requests made from your applications and SDKs to Mailofly.

***

## Creating an API Key

1. Navigate to **Settings** → **API Keys** in the dashboard.
2. Click **Create API Key**.
3. Choose a permission scope:
   * **Full Access**: Can send emails, manage domains, webhooks, and contacts.
   * **Sending Only**: Can only send transactional and campaign emails (recommended for worker servers).
4. Save your secret key immediately. For security reasons, secret keys cannot be displayed again after creation.

***

## Revoking an API Key

If an API key is no longer needed:

1. Open the API Keys table.
2. Click the three-dot menu `...` next to the key.
3. Click **Revoke**. All subsequent requests using this key will immediately return an HTTP `401 Unauthorized`.


## Related topics

- [API Key Security](/guides/api-keys/api-key-security.md)
- [Leaked API Keys](/guides/api-keys/leaked-api-keys.md)
- [Create API key](/getting-started/api-keys.md)
- [AI onboarding](/getting-started/ai-onboarding.md)
- [Manage Domains](/domains/managing-domains.md)
