Complete a passkey check
POST
/api/v1/auth/assert/finish
const url = 'https://example.com/api/v1/auth/assert/finish';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"credential":"example","flow":"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/assert/finish \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "credential": "example", "flow": "example" }'Completes a passkey check. It requires a signed-in User with the account scope. It can return 401 if the session is missing or expired, 403 if access is denied and 429 if the request limit is reached. Route: /api/v1/auth/assert/finish. Inputs: . Do not automatically replay this operation after an uncertain result.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
credential
required
flow
required
string
Examplegenerated
{ "credential": "example", "flow": "example"}Responses
Section titled “Responses”Media typeapplication/json
object
code
required
string
message
required
string
Examplegenerated
{ "code": "example", "message": "example"}