Is there some way to get an OTP by API? I have an API that requires 2fa. Of course is is possible to turn it off, but I'd really much rather not to.
See Question&Answers more detail:osIs there some way to get an OTP by API? I have an API that requires 2fa. Of course is is possible to turn it off, but I'd really much rather not to.
See Question&Answers more detail:osI can help you out with this. FYI, I work with Authy. Is your intention to get an OTP code and subsequently verify the code automatically? Just out of curiosity, are you doing this for integration testing?
You could approach this with Authy by:
If you are approaching this for testing, you can see a testing-sample app for both Phone Verification and Authy OneCode on Github.
Additional sample API calls are also available on Github.
Regards,
Josh @ Authy