---
title: "Create an API Key"
slug: "api-keys"
updated: 2025-02-25T18:18:09Z
published: 2025-02-25T18:18:09Z
stale: true
---

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

# Create an API Key

The API Keys feature lets you generate an API key that you can use to [authenticate Qwilt API requests](https://api-docs.qwilt.cqloud.com/docs/authentication). Access to this feature is determined by your user permissions. You may also use the [api-keys API](https://api-docs.qwilt.cqloud.com/docs/Authentication/API%20Keys/api-keys-api-start-here) to generate an API key.

          Note:

          

An API key is valid for up to 365 days. When it expires, it cannot be renewed. To avoid interruptions, make sure to create a new key before the expiration date.

## Create a Key

To create an API key:

1. [Login to QC Services](https://qc-services.cqloud.com/).
2. If your user is assigned to multiple organizations, the API key is valid only for the organization selected from the dropdown menu at the top of the navigation pane at the time the key is created.

![selectedOrg.png](https://cdn.document360.io/fa039225-513b-46a1-ba78-a57a1f1cb7c6/Images/Documentation/selectedOrg.png)
3. Open Media Delivery or Service Provider.

![mediaDeliveryApp.png](https://cdn.document360.io/fa039225-513b-46a1-ba78-a57a1f1cb7c6/Images/Documentation/mediaDeliveryApp.png)
4. In the navigation pane, under **Administration**, select **API Keys**.

![apiKeys.png](https://cdn.document360.io/fa039225-513b-46a1-ba78-a57a1f1cb7c6/Images/Documentation/apiKeys.png)

1. In the *API Keys* page, select **Add API Key**.
2. In the *API Access Key* dialog, define the key parameters. ![APIaccesKey.png](https://cdn.document360.io/fa039225-513b-46a1-ba78-a57a1f1cb7c6/Images/Documentation/APIaccesKey.png)

| Parameter | Description |
| --- | --- |
| Name | The key name. |
| Permission | An API key grants either read-only access or read-and-write access, enabling all operations. - Viewer: Grants access to `get` and `list` endpoints. - Editor: Grants access to all endpoints (`get`, `list`, `create`, `update`, `delete`). |
| Valid for | Defines how long the API key remains valid, in days. The maximum allowed duration is 365 days. |
| Description | An optional key description, which will be displayed in the API Keys list. |
3. Select **Submit**. Keys require up to five minutes for propagation before they become active and are ready to use across all endpoints.
4. In the *API Access Key dialog*, download or copy the key for future use. Once you exit the *API Access Key* dialog, you will no longer have access to the key via the *API Keys* feature. ![downloadAPIAccessKey.png](https://cdn.document360.io/fa039225-513b-46a1-ba78-a57a1f1cb7c6/Images/Documentation/downloadAPIAccessKey.png)

## Revoke a Key

You may revoke a key at any time. Once a key is revoked, it cannot be re-enabled.

To revoke a key:

1. [Login to QC Services](https://qc-services.cqloud.com/).
2. Navigate to the Site Delivery or Media Delivery application, and from the navigation pane, select **Administration**.
3. In the *API Keys* page, a list of all the API Keys created by users in your organization is displayed. Hover over the key you want to revoke to display the *Revoke* icon. ![revokeAPIKey1.png](https://cdn.document360.io/fa039225-513b-46a1-ba78-a57a1f1cb7c6/Images/Documentation/revokeAPIKey1.png)
4. Select the **Revoke icon**.
5. Confirm by selecting **Revoke**.
