WebAuthn — Passkeys & MFA

Build recovery passkey registration request

After OTP verification, the locked-out user creates a new passkey on their device and submits the attestation here. Returns the recovery body that the client must stamp with the ephemeral API key from the credential bundle.

post/api/v1/organizations/{organizationId}/webauthn/recovery/prepare

Request

  • Base URL: https://api-sandbox.koywe.com
  • URL: https://api-sandbox.koywe.com/api/v1/organizations/{organizationId}/webauthn/recovery/prepare
  • Auth: HTTP bearer

Path parameters

organizationIdstring required

Request body

encodedChallengestring required

Base64url-encoded challenge from the new passkey creation

Response

bodystring required

JSON-stringified createAuthenticators body — client must stamp this exact string

Changes

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