Skip to content
LogoLogo

Start registering a passkey

Start registering a passkey

POST/api/v1/auth/passkeys/register/options

Returns the options to pass to navigator.credentials.create(), together with a single-use ceremony token.

The options require a discoverable credential and user verification, which is what makes the resulting passkey usable for usernameless sign-in. Credentials already registered to the account are excluded, so an authenticator that is already enrolled declines rather than creating a duplicate.

The ceremony is bound to the calling account and can only be completed by it. An account at the ten-passkey limit receives 409.

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

Responses