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

# curator:addapikey

> Add an API key for Curator

Adds an API key for Curator.

**Arguments:**

| Argument | Required | Description |
| - | - | - |
| `key` | Yes | The API key to add |

**Example:**

```bash theme={null}
php artisan curator:addapikey my-secret-api-key
```

Keys added with this command never expire. To give a key an expiration date, edit it in the backend under
**Settings** > **Curator** > **API Keys** and choose a period in **Key expires**.


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