Skip to content

Verify and save a passkey

POST
/auth/passkeys/register/verify
object
challengeId
required
string format: uuid
deviceLabel
string
<= 120 characters
Example
Marco's iPhone
credential
required

JSON credential returned by WebAuthn or the native passkey provider.

object
key
additional properties
any

Passkey metadata

object
success
required
boolean
data
required
object
id
required
string format: uuid
deviceLabel
required
string
createdAt
required
string format: date-time
lastUsedAt
string format: date-time
nullable

Invalid credential or ceremony

object
success
required
boolean
error
required
object
code
required
string
Allowed values: unauthorized forbidden pending_approval registration_rejected account_inactive validation_error conflict not_found rate_limited not_implemented service_unavailable internal_error
message
required
string

Credential already registered

object
success
required
boolean
error
required
object
code
required
string
Allowed values: unauthorized forbidden pending_approval registration_rejected account_inactive validation_error conflict not_found rate_limited not_implemented service_unavailable internal_error
message
required
string