v1

latestOpenAPI 3.0.02026-07-265081124.2 KB
Authentication

Create API key

Creates a new API key for programmatic access. Only available for users authenticated via the UI (Privy). Previous active keys are automatically revoked.

post/auth/api-keys

Response

API key created successfully

keyIdstring

Unique identifier for the API key

apiKeystring

The API key value. Only shown once at creation time.

createdAtstring date-time

When the key was created

Example response

{
  "keyId": "key_abc123def456",
  "apiKey": "lmts_sk_1234567890abcdef...",
  "createdAt": "2025-06-15T10:30:00Z"
}