POST
/
auth-login
Login with phone and password
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."
  }
}

Body

application/json
phone
any
required
password
any
required

Response

Password verified — OTP sent

success
boolean
Example:

true

status
integer
Example:

200

data
object