# API Keys

Configure access, channel restrictions, and usage limits for each integration.

import Shot from "../../../../components/shot.astro";

Manage keys in **Settings → API Keys**. Choose **Create API key**, configure access, and copy the full credential when it is shown. You can reveal a credential only when creating or rotating it.

<Shot name="api-key-create" alt="Create API key form with channel access and permissions" />

## Key fields

| Field | How to configure it |
| --- | --- |
| Name | Required; use a name that identifies the integration. This name also appears on messages it sends. |
| Description | Optional explanation of the integration's purpose |
| Permissions | Select the individual operations the integration needs |
| Channel access | All channels, including future channels, or a nonempty selection of existing channels |
| Allowed IPs | Optional exact IPv4 or IPv6 addresses; address ranges are not supported |
| Expiration | No expiration or a specific timestamp; check the displayed time zone |
| Rate limit | Use the organization limit or set a lower positive requests/minute cap |

Removing a selected channel does not give the key access to other channels. Contact and webhook permissions require all-channel access. Selected-channel keys can access permitted conversations, messages, channels, and channel-bound templates; global templates are excluded.

## Permissions

| Permission | Access |
| --- | --- |
| `channels:view` | Discover channels and their capabilities |
| `chats:view` | Read conversations and message history |
| `chats:create` | Find or open a conversation |
| `chats:edit` | Update conversation status |
| `chats:send_message` | Send messages, indicate typing, hand over to a member, or return to bot |
| `chats:reassign_chat` | Assign a conversation |
| `chats:mark_read` | Mark a conversation as read |
| `contacts:view` | Read contacts and platform identities |
| `contacts:create` | Create contacts |
| `contacts:edit` | Update contacts and manage platform identities |
| `contacts:delete` | Delete contacts |
| `templates:view` | Read templates |
| `webhooks:view` | Read endpoint configuration and delivery summaries |
| `webhooks:manage` | Create, update, delete endpoints and rotate secrets |
| `webhooks:inspect` | Inspect delivery payloads and response details |
| `webhooks:deliver` | Send tests and redeliver events |

Permissions do not imply other permissions. Sending a template requires `chats:send_message`; listing or reading templates requires `templates:view`. Bulk contact upsert requires both `contacts:create` and `contacts:edit`. API keys cannot create or manage other keys.

## Manage access and usage

Rotate to replace a credential, disable or enable access independently, or delete the key. The previous credential stops working immediately after rotation. Review monthly usage, reset time, the effective rate limit, and lifetime key usage on the same page.

The organization limit is shared across keys. A configured key cap cannot exceed the organization's effective limit, including after a plan change. See [rate limits](/en/developers/rate-limits).
