Skip to main content
POST
Begin Passkey Enrollment

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Path Parameters

id
string
required

Caller's own User ID.

Example:

"00000000-0000-0000-0000-000000000000"

Response

OK

enrollmentToken
string
required

Names this enrollment. Send it back to POST /v1/users/{id}/passkeys/finish within 5 minutes; it works once.

Example:

"Zm9vYmFyLWVucm9sbG1lbnQtdG9rZW4tZXhhbXBsZQ"

options
any
required

The WebAuthn creation options (publicKey) to pass to navigator.credentials.create, exactly as the identity provider wrote them.