Complete passkey registration
POST
/api/v1/auth/passkeys/registration/finish
const url = 'https://example.com/api/v1/auth/passkeys/registration/finish';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"credential":"example","flow":"example","name":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/auth/passkeys/registration/finish \ --header 'Content-Type: application/json' \ --data '{ "credential": "example", "flow": "example", "name": "example" }'Completes the passkey registration. A valid passkey challenge is required. A signed-in User is not needed. It can return 429 if the request limit is reached. Route: /api/v1/auth/passkeys/registration/finish. Inputs: . Do not automatically replay this operation after an uncertain result.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
credential
required
flow
required
string
name
required
string
Examplegenerated
{ "credential": "example", "flow": "example", "name": "example"}Responses
Section titled “Responses”Media typeapplication/json
object
next_path
Owner-selected stable item link after invite enrolment (#1035).
string | null
recovery_key
string | null
user
required
object
disabled
required
boolean
display_name
required
string
id
required
string format: uuid
role
required
string
username
required
string
Example
{ "user": { "role": "owner" }}Media typeapplication/json
object
code
required
string
message
required
string
Examplegenerated
{ "code": "example", "message": "example"}