curl --request POST \
--url https://api.mnemom.ai/v1/auth/mfa/challenge \
--header 'Content-Type: application/json' \
--cookie mnemom_session= \
--data '
{
"factor_id": "<string>"
}
'{
"challenge_id": "<string>"
}Called during the sign-in MFA step-up flow (using the mnemom_mfa_pending cookie) or during enrollment verification (using the existing mnemom_session). Returns a challenge_id to pass to /auth/mfa/verify.
curl --request POST \
--url https://api.mnemom.ai/v1/auth/mfa/challenge \
--header 'Content-Type: application/json' \
--cookie mnemom_session= \
--data '
{
"factor_id": "<string>"
}
'{
"challenge_id": "<string>"
}HttpOnly, Secure, SameSite=Lax cookie issued by /v1/auth/sign-in (or the SSO / email-callback flows). The value is an AES-256-GCM-encrypted blob of {access_token, refresh_token, issued_at, auth_method}. Browser clients include this automatically with credentials: "include".
Challenge issued.