passkey

Register Finish

Completes the ceremony started by beginPasskeyRegistration: verifies the attestation response against the handle issued there and stores the credential under friendly_name. A stale, reused, or mismatched handle fails with the same 400 passkey_failed as a malformed attestation — the ceremony does not distinguish client bugs from a forged response in its error body.

post/auth/passkey/register/finish

Request

  • Base URL: https://api.instruxi.dev/api/v1/enforcer
  • URL: https://api.instruxi.dev/api/v1/enforcer/auth/passkey/register/finish
  • Auth: one of:
    • API key in header Authorization
    • API key in header X-API-Key

Request body

credentialinteger[]

raw WebAuthn attestation response

friendly_namestring
handlestring

Response

OK

successboolean

Example response

{
  "success": true
}

Changes

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