skip to content

account api

openapi specification

create api keys at account. send Authorization: Bearer YOUR_KEY. browser requests use secure session cookies. mutations require an origin header matching the application origin; command-line clients must include it too. data belongs to the authenticated account. invalid credentials return 401; account outages return 503.

curl -H 'Authorization: Bearer YOUR_KEY' https://account.dorianmarie.com/api/identity
methodpathpurpose
get/apipublic application metadata
get/api/identityauthenticated identity
get/api/mecurrent browser account
get/api/passkeyslist registered passkeys
get/api/preferencesread account preferences
post/api/preferencesupdate preferences: language, theme, timeFormat (24h/12h), weightUnit (kg/lb), temperatureUnit (celsius/fahrenheit)
get/api/keyslist api key names and ids
post/api/keyscreate project-scoped key with {name,project,permission:read|write,days:1|7|30|90,confirmation}; token shown once
post/api/keys/revokerevoke owned key with {id}
post/api/auth/confirm/passwordconfirm current password with {action,password}; returns a single-use confirmation for password, passkey, key, or revoke-all
post/api/auth/confirm/passkey/optionsbegin existing-passkey confirmation with {action}
post/api/auth/confirm/passkeyconfirm existing passkey with {action,challengeId,credential}
post/api/auth/passwordchange password with {password,confirmation}; revoke other sessions and api keys
post/api/security/revoke-allrevoke sessions, keys, and passkeys with {confirmation}

passkeys, settings, and key management require an account browser session; api keys cannot create further keys or change credentials.

open application