v2
latestOpenAPI 3.1.0Source-specific upstream terms; see response catalog metadata2026-07-26139203447.9 KBUser
API Credentials
Create an API credential
Creates a credential once and returns the full token on the original response or an identical Idempotency-Key retry within 24 hours. Requires session cookie, X-CSRF-Token, a durable users.sqlite idempotency schema and configured credential/idempotency key material. List/get never expose the token.
post/api/v1/user/api-credentials
Headers
X-CSRF-Tokenstring required
Fresh token returned by GET /api/v1/user/me for this authenticated session.
Idempotency-Keystring required
Required for account mutations that reveal a secret. Reuse the same key only for an identical payload. The encrypted response can be replayed for 24 hours; a changed payload or an expired key returns 409.
Request body
Response
Credential created, or its encrypted one-time response replayed for the same key and payload