SMS OTP Verification API

SMS OTP Verification API

Send OTP to your clients to verify their accounts or for whatever use you want. Implement MFA or send promo codes with this API.

API description

About the API:

This API will allow you to send OTP (One-time Passwords) to your users. It's ideal to improve security and have Multiple Factor Authentication on your sites/apps.  


What this API receives and what your API provides (input/output)?

You will pass the receiver's phone number and the API will automatically send a code to the user. You later will have the opportunity to verify the sent code and authenticate the login or whatever you need to authenticate. 


What are the most common uses cases of this API?

Prevent online identity theft

One of the great advantages of using one-time passwords to secure access is that they become invalid within a few seconds, which prevents hackers from retrieving the secret codes and reusing them.

Reduce support from IT team

When choosing an MFA solution that is natively 2-factor, and therefore where along with the OTP there is no need to require the user to enter the combination login & password (passwordless MFA solution) - then and again only then - IT support teams are less likely to be solicited from end-users for password resets. For sure, end-users are unlikely to make a mistake with a simple knowledge factor such as a PIN code to be remembered. It’s a win-win for users and support teams.

Overcome password security issues

Once again, this is the case only when going for a passwordless authentication that is natively 2-factor. IT administrators and CISOs can avoid the common issues encountered when it comes to password security (weak passwords, sharing credentials, reusing the same password across multiple accounts and systems, etc.).

Improves user experience

While some MFA solutions will send OTP by push notification or SMS to users, asking them to retype and enter it in their login window. MFA generates and validates OTPs in a way that improves the user's login experience. Indeed, the solution will silently generate and validate the OTP, in a transparent way for the user, allowing him/her to have a simple and passwordless login experience.


Are there any limitations with your plans?

Besides the number of API calls per month, there are no other limitations. 

API Documentation


Generate and send OTP to Mobile number. An otp_id will be returned for successful submission and it is required for OTP Verification.

{code} needs to be always present as it will be in charge of automatically generating your OTP codes. 

Send OTP - Endpoint Features
Object Description
Request Body [Required] Json

Use this endpoint to validate the OTP that was sent to the user. 

You need to pass the OTP code that was sent (this will be inserted by the user). 

Also, you need to pass the otp_id (that was generated on Send OTP endpoint, this will be inserted by the developer). 

Validate OTP - Endpoint Features
Object Description
Request Body [Required] Json

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the SMS OTP Verification API REST API, simply include your bearer token in the Authorization header.


Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

$0.00 / Mo

  • 1 Requests / Month
$24.99 / Mo

  • 100 Requests / Month
$49.99 / Mo

  • 500 Requests / Month
🔥Pro Plus
$499.99 / Mo

  • 5,000 Requests / Month
🚀 Enterprise
Custom quote

Need more? We offer unlimited API calls, Request Quote

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

API Provider: SoftDev

Useful links: