twilio-python
twilio-python copied to clipboard
Is there a way to validate a phone number by sms?
Hi @AungThiha,
How do you mean validate exactly?
Do you mean verify a number with your account? Or verify a number belongs to a user?
Thanks.
I want to add phone numbers to my verified caller ids list.
- I cannot find a way to send OTP(one time password/pin) to a user via sms.
- When the user send back OTP to my server, I do not know how to verify it to my twilio account.
I'm afraid this is not possible by SMS. When verifying numbers for use with your account the API only makes the call method available.