Two-Factor Authentication over API

Exabytes bulk SMS has introduced a new feature for bulk SMS two-factor authentication via API.


What is two-factor authentication (2FA)


Two-factor authentication (2FA) is an additional security measure that necessitates users to provide both their online password and mobile phone to confirm their identity for accessing a service or web application. Alongside their service credentials, the user receives a one-time PIN (OTP) sent to their mobile device, either via SMS or Voice. This one-time PIN is generated and dispatched to the user's phone. Upon receiving the OTP, the user inputs it into the application to verify their identity. If the PIN sent to the user corresponds with the one entered, the user is permitted to proceed with the process.


2FA API for HTTPS GET




Step 1: Send a 2FA request.


Step 2: Check the status code in the response to confirm that the request to bulk SMS was made correctly.


Step 3: Bulk SMS delivers your OTP to the user's mobile device.


Step 4: Your user enters this OTP into your application.


Step 5: Verify the OTP through the bulk SMS API



Bulk SMS API – Send/Request OTP




Server Response Detail: Success {"status":"Success","code":"147623","uuid":"bd9a1ff0-4f2c-11eb-9b62- 008cfaff44de","username":"mobiwebtest","sms_id":"1171081025","mobile":"+60171112 2334"}


Server Response Detail: Fail {"status":"Failed","message":"Incorrect OTP Code","uuid":"1a1e1b86-4f2d-11eb-9b62- 008cfaff44de","sms_id":"1171081605","code":"408902","mobile":"+6 0175118885"}



Bulk SMS API - Verify OTP


Sample Request:

https://www.isms.com.my/2FA/request.php?interval=3&mobile=12345678&country_code=60&un=xxxx &pass=xxxx&sendid=MOBIWEB&method=verify&code=515296


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.