curl --request POST \
--url https://aarwcjjzhlmkgdwrisyt.supabase.co/functions/v1/auth-resend-otp \
--header 'Content-Type: application/json' \
--data '
{
"phone": "+2348012345678"
}
'{
"success": true,
"status": 200,
"data": {
"message": "OTP resent."
}
}Resends a fresh 6-digit OTP. Subject to rate limiting.
curl --request POST \
--url https://aarwcjjzhlmkgdwrisyt.supabase.co/functions/v1/auth-resend-otp \
--header 'Content-Type: application/json' \
--data '
{
"phone": "+2348012345678"
}
'{
"success": true,
"status": 200,
"data": {
"message": "OTP resent."
}
}