Developer docs
Verify
POST
/v1/auth/mfa/verify
const url = 'https://example.com/v1/auth/mfa/verify';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"method":"passkey","credential":{},"code":"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/v1/auth/mfa/verify \ --header 'Content-Type: application/json' \ --data '{ "method": "passkey", "credential": {}, "code": "example" }'Finish a sign-in: the second factor for a pending session.
Request Bodyrequired
Section titled “Request Bodyrequired”Responses
Section titled “ Responses ”Successful Response
Media typeapplication/json
Response Verify V1 Auth Mfa Verify Post
object
key
additional properties
any
Examplegenerated
{}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}