Doksi Docs
Device API

API Keys

Create and manage API keys for the Device API.

Navigate to Devices > API Keys to manage your API keys. API keys authenticate all requests to the Device API.

Creating an API key

  1. Click Create API Key in the header
  2. Enter a name for the key (e.g. "Claude Code", "Cursor", "CI Pipeline")
  3. Click Create

The full API key is displayed once after creation. Copy it immediately — you won't be able to see it again.

The modal also shows ready-to-copy setup commands for popular MCP clients:

  • Claude Codeclaude mcp add command
  • Cursorcursor --add-mcp command
  • VS Code Copilotcode --add-mcp command
  • Codexcodex mcp add command
  • Windsurf — JSON config snippet

Active keys

The active keys table shows:

  • Name — The label you gave the key
  • Key suffix — Last 4 characters for identification
  • Created — When the key was created
  • Last used — When the key was last used to make an API call

Revoking a key

Click Revoke next to any active key to disable it. Revoked keys stop working immediately — any MCP clients using the key will lose access.

Revoked keys are moved to a separate section showing the last 5 revoked keys for reference.

Best practices

  • Create separate keys for each MCP client or environment (development, CI, production)
  • Revoke keys you're no longer using
  • Rotate keys periodically for security

On this page