WoyraDocs
Get an API key

Start adding a passkey

POST/v1/auth/passkeys/register/begin

Console · Requires an API key

Returns the options for navigator.credentials.create. Allowed while two-factor enrolment is outstanding, since a passkey is one way to enrol.

Example

curl -X POST https://api.woyra.io/v1/auth/passkeys/register/begin \
  -H "Authorization: Bearer $WOYRA_KEY"

Response

200 The challenge.

FieldTypeDescription
object"passkey_challenge"
ceremonystringSend back with the answer.
optionsobject{ publicKey: ... }, the WebAuthn options with binary fields as base64url. Pass to navigator.credentials.create or .get.

Also in Console