© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•8mo ago•
6 replies
Alex

Twilio WA OTP Issue (Breaking)

Running into a WhatsApp OTP issue with Supabase’s Twilio integration. Our code explicitly sets "channel": "whatsapp":

response = supabase.auth.sign_in_with_otp(
    {
        "phone": "+13334445555",
        "options": { "channel": "whatsapp" },
    }
)
response = supabase.auth.sign_in_with_otp(
    {
        "phone": "+13334445555",
        "options": { "channel": "whatsapp" },
    }
)


…but we’re still getting an SMS. If we hit Twilio’s Verify API directly via curl with the same credentials and parameters, the WhatsApp OTP comes through as expected:

curl -X POST "https://verify.twilio.com/v2/Services/$VERIFY_SERVICE_SID/Verifications" \
  --data-urlencode "To=$YOUR_PHONE_NUMBER" \
  --data-urlencode "Channel=whatsapp" \
  -u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN
curl -X POST "https://verify.twilio.com/v2/Services/$VERIFY_SERVICE_SID/Verifications" \
  --data-urlencode "To=$YOUR_PHONE_NUMBER" \
  --data-urlencode "Channel=whatsapp" \
  -u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN


Our Supabase Auth provider is configured with the same service SID, auth token, etc. It looks like the SDK isn’t forwarding the channel parameter to Twilio. Can you confirm whether there’s a regression here? This is blocking our WA flows, really appreciate the help!
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

cannot send otp via SMS with Twilio
SupabaseSSupabase / help-and-questions
3mo ago
OTP with Twilio not sent during signInWithOtp
SupabaseSSupabase / help-and-questions
5mo ago
Hcaptcha + OTP
SupabaseSSupabase / help-and-questions
4y ago
Need help with otp\disabled (Magic-link / OTP)
SupabaseSSupabase / help-and-questions
8mo ago