Auth

Verify a passkey registration response + persist the credential

Authenticated endpoint. Consumes the challenge issued by /auth/passkey/enroll, verifies the attestation via @simplewebauthn/server, and inserts a row into user_passkeys. A user-supplied friendly_name is stored alongside for UI display.

post/auth/passkey/verify-enroll

Request

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

Request body

friendly_namestring

User label (e.g. "Alex's iPhone").

Response

Passkey enrolled.

credential_idstring
friendly_namestring nullable
device_type'single_device' | 'multi_device'
backed_upboolean

Changes

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