2 Factor Authentication Process
Send One Time Passcodes (OTP) via SMS

- Sendmode’s SMS API Gateway to enable 2 Factor Authentication on any site or application using One Time Passcodes (OTP). In a few simple lines of code you can secure your application and protect your customers.
- You can do this using any programming language (.NET, PHP, Java etc) and you will be up and running in minutes.
- Our API Gateway is fast, secure and reliable ; we provide full documentation with technical support 24/7.
-
Request Code Format:
https://rest.sendmode.com/v2/verify?access_key=ABCDE01234EFGHI56789&message={“timeout“:10,”tokenLength“:8,”messagetext“:”Here is your OTP”,”recipient“:”353871234567”}
access_key *
Your Access Key to Sendmode API *REQUIRED
message *
JSON of message package to send. *REQUIRED
JSON elements:
recipient *
Mobile number of the Recipient *REQUIRED
messagetext *
Text message details *REQUIRED
timeout
Time in minutes the code is valid. (default is 120 mins).
tokenlength
Length to make the OTP Code (default is 4 char). -
Validate Code Format:
https://rest.sendmode.com/v2/verify?access_key=ABCDE01234EFGHI56789&code=9D5CB941&recipient=353871234567
access_key *
Your Access Key to Sendmode API *REQUIRED
code *
The OTP Code to verify *REQUIRED
recipient *
Mobile number of the Recipient *REQUIRED