Skip to Content
Developers

API keys

Create and revoke the keys that let the website widget and the API connect to your workspace.

Before you start

  • Only Owners and Admins can manage API keys. Others see "Only admins can manage API keys".
  • API keys need the Professional or Enterprise plan. On other plans you see "API keys are not included in your plan".
  • Setting up the website widget and calling the API are not covered in these docs yet. To get started with either, book a call with us.

Create a key

In the sidebar, click Settings, then the API keys tab.

Click Create API key.

Enter a Name that says where the key is used, such as "Main website".

Pick the Permissions. Pick at least one.

PermissionWhat it allows
Start conversationsUsed by the website widget to start conversations with the agent.
Read conversationsRead past conversations and transcripts through the API.

Optional: add Allowed origins: the websites that can use this key from a browser, such as https://www.example.com. Press Enter after each one. Leave it empty to allow any origin.

Click Create API key.

Under Copy this key now, copy the key. It is shown only once. Click Done.

Keep keys out of shared documents and public code. If you lose a key, revoke it and create a new one.

The keys list

ColumnWhat it shows
NameThe name, and the first characters of the key.
PermissionsWhat the key may do.
Allowed originsThe websites that may use it, or Any origin.
Last usedWhen it was last used, or the date it was revoked.

Filter the list by Active, Revoked or All.

Revoke a key

  1. Click the revoke button on the key's row.
  2. Confirm with Revoke key.

Anything using the key, including the website widget, stops working right away. This cannot be undone.

Limits

ItemLimit
Allowed origins per key20
Requests per minute30 from one address
Keys expireNever, until revoked

Troubleshooting

You seeFix
"Select at least one permission"Tick Start conversations, Read conversations or both.
"Use origins like https://www.example.com, without a path"Remove everything after the domain.
"Add up to 20 origins"Remove some origins, or create a second key.
"API keys are not included in your plan"API keys are part of the Professional and Enterprise plans.

Tips

  • Create one key per website or app, so you can revoke one without breaking the others.
  • Set Allowed origins for any key used in a web page.
  • Every key created or revoked shows in the audit log.

On this page