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

# API keys

> Create and manage API keys for programmatic access to your workspace data.

API keys let external systems access your workspace through the
[Tickets API](https://docs.typewise.app/guides/integrations/tickets-api.md). Each key is scoped to a single
workspace and carries a fixed set of permissions.

> [!NOTE]
>
> Only **Admin** users can create and manage API keys.

***

## Create a key

**1. Open API Keys**

Go to **Workspace Settings** and select the **API Keys** tab.

**2. Create**

Click **Create API key** and enter a descriptive name (e.g. "Zapier
integration" or "Reporting pipeline").

**3. Copy the key**

The full key is displayed **once**. Copy it immediately and store it in a
secure location. You won't be able to view it again.

![API Keys tab in Workspace Settings](https://mintcdn.com/typewise/uHmX9HthHvSg2Onl/images/documentation/settings/api-keys/api-keys-list.png?fit=max\&auto=format\&n=uHmX9HthHvSg2Onl\&q=85\&s=70b36eb34a01cea18bef925cee8da4ba)

![Create API key dialog](https://mintcdn.com/typewise/uHmX9HthHvSg2Onl/images/documentation/settings/api-keys/api-keys-create-dialog.png?fit=max\&auto=format\&n=uHmX9HthHvSg2Onl\&q=85\&s=c5973b1cfa87eabdf5bce6c75b0a0eda)

![Your API key: copy it before you close this dialog](https://mintcdn.com/typewise/uHmX9HthHvSg2Onl/images/documentation/settings/api-keys/api-keys-reveal.png?fit=max\&auto=format\&n=uHmX9HthHvSg2Onl\&q=85\&s=48945f710485dbc16b3f63c796cfb962)

***

## Rotate a key

Rotating replaces the current key with a new one.

> [!WARNING]
>
> The old key stops working immediately after rotation. Update your
> integrations before rotating to avoid service disruption.

**1. Find the key**

In the **API Keys** tab, locate the key you want to rotate.

**2. Rotate**

Open the key's action menu and select **Rotate**. Confirm the action.

**3. Copy the new key**

Copy the new key and update any integrations that use it.

![Row menu with Rotate and Delete](https://mintcdn.com/typewise/uHmX9HthHvSg2Onl/images/documentation/settings/api-keys/api-keys-actions.png?fit=max\&auto=format\&n=uHmX9HthHvSg2Onl\&q=85\&s=2d0475561cff3b767dc53e16ef15aff1)

***

## Delete a key

Deleting a key revokes it permanently. Any integration using the key will
receive `401 Unauthorized` responses.

**1. Find the key**

In the **API Keys** tab, locate the key you want to delete.

**2. Delete**

Open the key's action menu and select **Delete**. Confirm the action.

***

## Permissions

Each key is created with the `tickets:read` permission, which grants read-only
access to the [Tickets API](https://docs.typewise.app/guides/integrations/tickets-api.md).

***

## See also

* [Tickets API](https://docs.typewise.app/guides/integrations/tickets-api.md): Query tickets
  programmatically with filtering, sorting, and pagination
* [User Management](https://docs.typewise.app/documentation/settings/user-management.md): Manage user access
  and roles


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