Lexey
Use casesPricingDocs
Sign inGet started
Get started
  • Use cases
  • Pricing
  • Docs
  • Sign in
API key management
Basics
  • Getting started
  • The portal
Features
  • Working with Lexey
  • Knowledge base
  • Conversations
  • Customer chat
  • Skills & automations
  • Testing and releases
  • Quality assurance
  • AI safety
  • Billing & usage
Deployment
  • Embedding your chat
API
  • Customer Chat API
  • Management Chat API
  • Webhook events
  • API key management
  • Streaming guide
  • Agent integration
Help
  • FAQ
API/API key management

API key management

API keys are managed from Channels → API access in the management interface.

Key types

Two key types are available, each with distinct access:

  • Customer keys (lxc_) — access customer chat API endpoints only.
  • Management keys (lxm_) — access management chat API endpoints only.

Each key type only grants access to its corresponding API — a customer key cannot access management endpoints and vice versa.

Creating keys

  1. Open Channels in the rail and choose API access.
  2. Find the card for the key type you need, customer or management.
  3. Optionally add a label, such as "Production", and choose when the key expires.
  4. Click Create key. A management key asks you to confirm with Create management key, because it grants full configuration access.
  5. Copy the key straight away. It is shown only once and can't be retrieved again.
Caution

The full plaintext key is displayed exactly once at creation. If lost, you must revoke the key and create a new one.

Security

Plaintext keys are never stored — only a cryptographic hash is persisted. The full key is shown exactly once at creation. If a key is lost, revoke it and create a new one.

Managing keys

  • View keys — See active keys with masked values (last 4 characters visible), label, creation date and expiry.
  • Limit — Up to 20 active keys per organization.
  • Check a key — GET /api/v1/customer/identity or GET /api/v1/management/identity returns the key's organization, type, environment and expiry, without using credits.
  • Revoke keys — Click Revoke to stop a key working. A revoked key can't be turned back on.
  • Permissions — Only admins can create and revoke keys. Members can see the list.
← Previous: Webhook eventsNext: Streaming guide →
On this pageKey typesCreating keysSecurityManaging keys
Lexey

Lexey learns your business from your website and answers customers around the clock.

ProductFeaturesPricingUse casesCompareGuides
DocsGetting startedCustomer APIManagement API
AccountSign upSign in
© 2026 Lexey
TermsTerms of servicePrivacyPrivacy policy