curl --request POST \
--url https://aarwcjjzhlmkgdwrisyt.supabase.co/functions/v1/auth-login \
--header 'Content-Type: application/json' \
--data '
{
"phone": "+2348012345678",
"password": "S3cure!Pass"
}
'{
"success": true,
"status": 200,
"data": {
"message": "OTP sent to your phone."
}
}Verifies the user’s password then sends a 6-digit OTP to their phone.
Call POST /auth-verify with context: login to receive session tokens.
curl --request POST \
--url https://aarwcjjzhlmkgdwrisyt.supabase.co/functions/v1/auth-login \
--header 'Content-Type: application/json' \
--data '
{
"phone": "+2348012345678",
"password": "S3cure!Pass"
}
'{
"success": true,
"status": 200,
"data": {
"message": "OTP sent to your phone."
}
}