> ## Documentation Index
> Fetch the complete documentation index at: /docs/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`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.