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

# Authentication

> How to authenticate requests to the API

Each request to the API must be authenticated with a valid API token. You can find your secret API key in the [API keys](https://dashboard.thepurplebox.io/apikeys) of your project.

```bash theme={null}
'Authorization': 'Bearer <YOUR-API-KEY>'
```

## API Key

Your secret API key should be used in environments like your backend server.

| Action             | Allowed |
| ------------------ | ------- |
| Sending  emails    | ✔️      |
| Retrieving emails  | ✔️      |
| Creating domains   | ✔️      |
| Deleting domains   | ✔️      |
| Retrieving domains | ✔️      |
| Creating api keys  | ✔️      |

{/* | Tracking Events              | ✔️      | */}
