Developer docs
Challenge
POST
/v1/auth/mfa/challenge
const url = 'https://example.com/v1/auth/mfa/challenge';const options = {method: 'POST'};
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/challengeWhat the person can use now: passkey options (challenge on the session) and whether an app or recovery code would do.
Responses
Section titled “ Responses ”Successful Response
Media typeapplication/json
Response Challenge V1 Auth Mfa Challenge Post
object
key
additional properties
any
Examplegenerated
{}