curl --request POST \
--url https://api.mnemom.ai/v1/auth/sign-in \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"password": "<string>"
}
'{
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com",
"app_metadata": {},
"user_metadata": {}
}
}Server-enforces SSO for org-enforced domains (returns 403 with code: sso_required). For users with a verified TOTP factor, returns 200 { mfa_required: true, factor_id } and sets a short-lived mnemom_mfa_pending cookie; otherwise issues mnemom_session and returns { user }.
curl --request POST \
--url https://api.mnemom.ai/v1/auth/sign-in \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"password": "<string>"
}
'{
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com",
"app_metadata": {},
"user_metadata": {}
}
}