Reference / Auth

Finish enrolling a passkey.

POST /v1/auth/passkeys/register/finish
End-user session operationId: passkey_register_finish

Authorization

Called from the browser with the publishable application id (x-application-id); the access token lives in memory.

Request body · required

  • credential any required

    The `PublicKeyCredential` JSON from `navigator.credentials.create/get` (base64url fields).

  • state string required

Responses

200 Passkey enrolled
422 Attestation rejected

Request

curl -X POST "http://localhost:8080/v1/auth/passkeys/register/finish" \
  -H "Content-Type: application/json" \
  -d '{
  "credential": {},
  "state": "string"
}'

Try it

live request
POST http://localhost:8080/v1/auth/passkeys/register/finish

Request body

application/json