osmTalk Docs
Settings

API Keys

Create and manage API keys for widget embeds and external integrations.

API keys authenticate requests from widget embeds and external integrations. Each key carries scopes that control what it is allowed to do.

Creating a Key

  1. Go to Settings → API Keys
  2. Click Create Key
  3. Fill in the fields:
FieldDescription
NameA label to identify the key (e.g., Production Widget, Dev Testing)
Allowed DomainsOptional comma-separated list of domains that may use this key
ScopesPermissions granted to the key (see Scopes below)
  1. Click Create — the full key is displayed once. Copy and store it securely; it cannot be retrieved again.

Key Format

Keys are prefixed with osm_ followed by a random string:

osm_xxxxxxxxxxxxxxxxxxxxxxxxxxxx

Treat your API key like a password. Do not commit it to source control or expose it in client-side code beyond the widget embed.

Scopes

ScopeAllows
chatText chat widget interactions
voiceVoice call widget interactions

Select only the scopes your integration requires. A key used solely for a chat widget does not need the voice scope.

Domain Restrictions

When Allowed Domains are set, the key is rejected for requests originating from any unlisted domain. Leave this field empty to allow all domains (useful for server-side or testing use cases).

Examples of valid domain entries:

example.com
app.example.com
localhost

Managing Keys

From the API Keys list you can:

  • Enable / Disable — Temporarily deactivate a key without deleting it
  • Edit — Update the name or allowed domains
  • Delete — Permanently revoke the key

Disabling a key immediately stops all requests authenticated with it. Re-enable at any time.