Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

docs: add whatsapp otp example in the Flutter docs

dshukertjrf9895100b859
diff --git a/spec/supabase_dart_v1.yml b/spec/supabase_dart_v1.yml
index 70a69f18086..b9c9eebb313 100644
--- a/spec/supabase_dart_v1.yml
+++ b/spec/supabase_dart_v1.yml
@@ -165,6 +165,17 @@ functions:
phone: '+13334445555',
);
```
+ - id: sign-in-with-whatsapp-otp
+ name: Sign in with WhatsApp OTP
+ isSpotlight: false
+ description: The user will be sent a WhatsApp message which contains a OTP. By default, a given user can only request a OTP once every 60 seconds. Note that a user will need to have a valid WhatsApp account that is linked to Twilio in order to use this feature.
+ code: |
+ ```dart
+ await supabase.auth.signInWithOtp(
+ phone: '+13334445555',
+ channel: OtpChannel.whatsapp,
+ );
+ ```
- id: sign-in-with-apple
title: 'signInWithApple()'
description: |