Authenticate with email and password. Returns authentication token if credentials are valid and MFA is not required. If MFA is enabled, returns a ticket for MFA verification.
curl --request POST \
--url https://api.fluxer.app/v1/auth/login \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"password": "<string>",
"invite_code": "<string>"
}
'{
"token": "<string>",
"user_id": "<string>"
}curl --request POST \
--url https://api.fluxer.app/v1/auth/login \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"password": "<string>",
"invite_code": "<string>"
}
'{
"token": "<string>",
"user_id": "<string>"
}