Docs

API keys

Create, sync, and revoke API keys for tools and MCP clients.

What is an API key?

An API key lets tools and AI assistants connect to your Lexoya account. These keys have full access to your account; treat them like passwords.

Create a key

  1. Open API Keys from the profile menu.
  2. Click Create API Key.
  3. Enter a Key Name of up to 50 characters.
  4. Choose an Expires value: Never, 2 Weeks, 1 Month, 3 Months, or 1 Year.
  5. Click Create Key.
  6. Your API Key is shown once. Copy it and click I saved the key.
If you lose the key, it cannot be shown again. Create a new key and revoke the old one.

Sync with the Germany location

Keys are created in the Iran location. To use the same key in the Germany location, click the Not synced status in the key list to sync it. Once synced, the status shows Synced.

Key status

  • Active: the key can be used.
  • Expired: the expiry date has passed.
  • Synced: the key also works in the Germany location.
  • Not synced: the key works only in the Iran location.

Revoke a key

  1. Click Revoke API Key.
  2. Confirm the removal.
Revoking a key immediately stops every client using it and cannot be undone.

Security notes

  • Never put an API key in a Git repository, chat, or public screenshot.
  • Use a separate key for each tool so a leak affects only that key.
  • Revoke keys you no longer use.
  • If a key leaks, revoke it immediately.

Related