#Phone Number verification with WhatsApp
10 messages · Page 1 of 1 (latest)
You can use functions to perform this.
I am using twilio. How can I achieve this using functions without vonage.
Does vonage provides some api's to perform that task
I am not using vonage. I am using twilio.
Does they provide api endpoint to do this OTP task?
yes they do
Perfect so in the appwrite function you can call the api endpoint using NodeJS
What trigger do i need there and how will it send the same OTP on sms and WhatsApp?
Like you can manage a flow such that when you get the number you can trigger that appwrite function which would call the twilio endpoint and that endpoint will basically get the number from your code and call the endpoint and the user will get the otp and by entering the OTP basically you can send that otp to the function for the validation and after that using the function you can verfiy the number