Auth

Begin passkey enrollment — return WebAuthn creation options

Authenticated endpoint. Returns PublicKeyCredentialCreationOptions for the SPA to pass to navigator.credentials.create(). Stores the challenge in KV with a 30-second TTL; the companion /verify-enroll endpoint consumes it. excludeCredentials is pre-populated with the user's existing passkeys so the authenticator prevents duplicate enrollment of the same key.

post/auth/passkey/enroll

Request

  • Base URL: https://api.mnemom.ai/v1
  • URL: https://api.mnemom.ai/v1/auth/passkey/enroll
  • Auth: one of:
    • API key in cookie mnemom_session
    • HTTP bearer

Response

WebAuthn creation options. Shape follows the WebAuthn Level 3 spec.

rpobject
userobject
challengestring
authenticatorSelectionobject
attestationstring
timeoutinteger

Changes

No recorded changes to this operation across all 1 revision of this API.