# Create an API key

> How to create an EmailPal API key, why we only show it once, and how to use it with REST and MCP.

Source: https://emailpal.io/help/create-an-api-key

## Create

1. Sign in → **API keys**.
2. Create a key. Copy the `ep_live_…` secret immediately.
3. We store a hash. If you lose it, create another and revoke the old one.

REST: `Authorization: Bearer ep_live_…` against `https://www.emailpal.io/api/public/v1`.

MCP: `EMAILPAL_API_KEY` in the server env. See [Connect the MCP server](/help/connect-the-mcp-server).

## FAQs

### Can I have multiple keys?

Yes. Revoke any key you pasted into a ticket, a screenshot or a chat log.

### Does a key see every account I belong to?

Keys are scoped to the workspace they were created in. Do not share them across customers.

## Need More Help?

[MCP server and REST API](/help/mcp-server-and-rest-api).
