Skip to main content

Documentation Index

Fetch the complete documentation index at: https://turnkey-0e7c1f5b-graham-docs-revamp.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Types

Authenticators — WebAuthn devices registered on Turnkey: passkeys, biometrics, and hardware keys. Used to sign requests directly, using the WebAuthn standard (no passwords). API keys — P-256 key pairs used to sign API requests. Come in two forms:
  • Long-lived — created via the dashboard, CLI, or API. You generate the key pair; Turnkey stores the public key.
  • Expiring — issued automatically when a user authenticates via email, SMS, OAuth, or wallet auth. Short-lived by default (15 minutes), with a configurable expiration window.

Credential types

Each issuance path produces a credential of a specific type, which Turnkey returns in API responses. You can retrieve the type and public key for any API key via GetAPIKey.
Credential typeIssued by
CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATORPasskeys
CREDENTIAL_TYPE_API_KEY_P256Manually created API keys
CREDENTIAL_TYPE_OTP_AUTH_KEY_P256Email OTP or SMS auth
CREDENTIAL_TYPE_EMAIL_AUTH_KEY_P256Email auth — credential bundle method (legacy)
CREDENTIAL_TYPE_RECOVER_USER_KEY_P256Email recovery (legacy)
CREDENTIAL_TYPE_OAUTH_KEY_P256Social logins
CREDENTIAL_TYPE_API_KEY_SECP256K1Wallet auth — Ethereum/SECP256K1
CREDENTIAL_TYPE_API_KEY_ED25519Wallet auth — Solana/ED25519
CREDENTIAL_TYPE_READ_WRITE_SESSION_KEY_P256Read-write sessions
CREDENTIAL_TYPE_LOGINIndexedDB auth — OTP, passkey, or OAuth