API Keys in the Dashboard

Create, limit, review and revoke an Org API key from Settings, step by step

Create an API key in the dashboard, choose what it may do, and copy the secret once. This page covers the screens; for the model behind scopes and limits, see Authentication.

Before You Start

  • Plan. Creating a key needs the Standard plan or higher. On a lower plan the page shows Creating API keys requires a Standard plan or higher. Existing keys can still be reviewed and revoked.
  • Role. Owners and Admins create, edit and revoke keys. A key cannot do any of this itself, so a leaked key can never create another.
  • Where. Open Settings, then Webhooks and API, then API keys. The same group holds Webhooks and MCP.

Create a Key

  1. Click New key. The Create an API key dialog opens.
  2. Enter a Label (optional), for example Billing sync. It is only for you, to tell two keys apart in the list.
  3. Tick the Permissions the key needs. Pick the narrowest set; see Permissions.
  4. Under Limits (optional), set a daily send cap, an expiry date or allowed IP addresses. Leave a field empty for no limit.
  5. Click Create key.
  6. Copy the key from Your new key, then click I've copied it.

This is the only time the key is shown. Once this dialog closes it cannot be retrieved - you would have to create a new one. Store it in your secret manager before you close the dialog.

If creation fails, the dialog shows Could not create the key.

Permissions

Permissions are fixed when you create the key. To change them, create a new key and revoke the old one. The dialog groups them by what they act on. Hover the info icon beside a permission to see what it allows. Four sensitive ones print their warning under the checkbox: Start new conversations, Delete chats and conversations, Read personal data (unmasked) and Erase contacts (GDPR).

GroupPermission in the dialogAPI scope
MessagingRead messagesMESSAGES_READ
Send messagesMESSAGES_SEND
Start new conversationsCONVERSATIONS_START
Manage conversationsCONVERSATIONS_MANAGE
Write notesNOTES_WRITE
Delete chats and conversationsCONVERSATIONS_DELETE
ContactsRead contactsCONTACTS_READ
Manage contactsCONTACTS_MANAGE
ContentRead contentCONTENT_READ
Manage contentCONTENT_MANAGE
WorkspaceManage channelsCHANNELS_MANAGE
Read teamTEAM_READ
Manage teamTEAM_MANAGE
Personal dataRead personal data (unmasked)PII_READ
Erase contacts (GDPR)CONTACTS_ERASE
PartnerPartner administrationPARTNER_ADMIN

The Partner group appears only for integration partner organisations. See Authentication for what each scope unlocks.

Send messages on its own is reply-only: the key can answer chats that already exist but cannot start a new one. Tick Start new conversations only for systems that must message a contact first. A leaked key with it can spam your contacts.

Limits

All limits are optional. Empty means no limit, and you can change them later with Edit limits.

FieldWhat it does
Daily send capMost messages the key may send per day (UTC). Reactions and edits do not count. A whole number from 1 to 1,000,000.
ExpiresAfter this moment every call with the key is refused. Pick a moment in the future.
Allowed IP addressesPress Enter after each address or range, for example 203.0.113.0/24 or 2001:db8::1. At most 20 entries. A /0 range is not accepted.

Review a Key

Each row shows the label (or Unlabelled key), a status of Active, Revoked or Expired, and when it was last used (Never used if it has not been). Anyone who can open Settings sees the list. Only Owners and Admins create, edit and revoke keys.

Key Logs

Click Logs in a key's row to open a panel with what that key changed and what it was refused. Everyone who sees the key can open it, also for a revoked key. There is no separate audit page.

The API keys page is not available in an organisation that a tech provider manages through the API. Opening it sends you back to Settings, so those organisations have no Logs button either.

The Logs panel of a key with seven events: allowed writes and refused calls with reasons such as Daily send cap reached and Missing permission

The panel keeps events for 90 days. Only writes and refused calls are recorded; allowed reads are not. Use the filter to show All events, Changes made or Refused calls. A refused call shows the reason:

ReasonMeaning
Missing permissionThe key lacks the permission the call needs
Daily send cap reachedThe key used its daily cap
Address not allowedThe call came from outside Allowed IP addresses
Key expiredThe expiry date has passed
Key revokedThe key was revoked
Wrong secretThe secret did not match
Rate limitedThe key went over a rate limit

Edit Limits or Extend a Key

Click Edit limits on an active key to change its daily send cap, expiry or allowed IP addresses. Permissions are fixed. An expired key shows Extend instead: set a later date, or clear the expiry, and the key works again.

Revoke a Key

Click Revoke on the row, then Revoke in Revoke this key?. Anything using the key stops working immediately and this cannot be undone. The row stays in the list as Revoked.

Connect an AI Agent

The same key connects an MCP client on the Pro and Enterprise plans. Create a key just for the agent with only the permissions it needs, then follow Connect an MCP Client.

Was this page helpful?

On this page