Send SMS OTP
This API allows you to send an SMS containing a one-time password (OTP) to a mobile phone number, which can be used for verification or authentication purposes.
Send SMS
POST
https://api.getspendo.com/gateway/api/v1/send/sms/otp
Send SMS OTP to a specific Phone Number
Headers
apiKey*
String
The API key that you get from spendo's dashboard.
Request Body
from*
string
The sender ID you want to appear as the sender of the message.
otp*
string
The OTP code that you want to send, represented as a string. This parameter is usually generated by your system or a third-party authentication provider.
to*
string
The phone number of the recipient, formatted as a string without any spaces or special characters.
Take a look at how you might call this method using our official libraries, or via curl
:
Last updated
Was this helpful?