Perfect10 Logo
Back to Docs

API Key

Unlock the power of your AI anywhere. Generate secure API keys to integrate your agents directly into your own applications and workflows.

API keys authenticate the Web Widget. They tell the server which workspace is making the request when a chat bubble is embedded on your website. You'll need at least one key before you can configure a Web Widget.

What you'll do
1
Navigate to Integrations → API Key
2
Click Generate New Key and name it
3
Copy the key immediately after generation
4
Paste the key into the Web Widget configuration
1

Navigate to API Key

Go to Integrations → API Key. This page shows all your existing keys as cards, with their name, creation date, last-used date, and masked value.

perfect10.id/integration
API Key page showing existing key cards with Name, Created date, Last Used, and masked key value
2

Generate a New Key

FieldDescription
Name *A recognizable label, e.g. "Website Chat Widget" or "Marketing Site".
Domain RestrictionsRestrict the key to specific domains. Only requests from those domains will be accepted.

Click Generate.

perfect10.id/integration
Generate key modal with Name field and optional Domain Restrictions field

Generate a separate key per environment (staging vs. production). This makes it easy to revoke access for one without affecting others.

3

Copy the Key Immediately

  1. 1. After generation, the full key is shown. Copy it.
  2. 2. Store it somewhere safe — in a password manager or your environment's secret store.
perfect10.id/integration
Modal showing the newly generated API key with a prominent Copy button warning
4

Use the Key in the Web Widget

  1. 1. Head to Integrations → Web Widget and paste the key into the API Key field.
  2. 2. Select the agent you want the widget to use.
  3. 3. To revoke a key, click the Delete (trash) icon on the key card — any widget using it will stop working immediately.
perfect10.id/integration
Page showing the API key used