简体   繁体   中英

How can I send verification code in email instead of sms using authy?

I am using twilio authy API with PHP for sending verification code to the user in sms where Authy handles everything generation of a new code, sending to mobile and verification using its various APIs but now I need Authy to send code in email instead of sending code in SMS and all other features will be same like verification and generation of code at authy level.

How can I do that? Or can anybody suggest to me some other third party for that?

Actually I don't want to generate code myself and save it in my database but should be handled by some third party.

Twilio developer evangelist here.

The Authy API only supports sending 2FA codes over SMS, a voice call, via the application or over push notifications . You cannot send 2FA codes over email using the Authy API.

You can send verification code via email using Twilio Authy api. Authy added support for this- https://www.twilio.com/changelog/authy-adds-support-user-authentication-email

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM