Skip to main content
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
string
required

Valid Nigerian phone number

Pattern: ^(\+234[0-9]{10}|0[0-9]{10})$
Example:

"+2348012345678"

password
string
required
Required string length: 8 - 72
Example:

"S3cure!Pass"

Response

Password verified — OTP sent

success
boolean
Example:

true

status
integer
Example:

200

data
object