📱 Pairing

Submit a WebAuthn passkey assertion to finish pairing.

post/api/{session}/auth/passkey

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/api/{session}/auth/passkey
  • Auth: API key in header X-Api-Key

Path parameters

sessionstring required

Session name

Request body

idstring required

Credential ID, as returned by navigator.credentials.get().toJSON().

rawIdstring required

Base64url-encoded raw credential ID.

typestring required

Always "public-key".

Example request

{
  "type": "public-key"
}

Changes

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