Voice OTP
This API allows you to send a one-time password (OTP) via a voice call to a specified recipient.
Request OTP Call
POST https://api.getspendo.com/gateway/api/v1/send/voice/call
Request OTP call to a specific Phone Number
Headers
Name
Type
Description
apiKey*
String
The API key that you get from spendo's dashboard.
Request Body
Name
Type
Description
code*
Integer
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.
phoneNumber*
String
The phone number of the recipient, formatted as a string without any spaces or special characters.
{
"success": true,
"message": "OTP sent",
"code": 0,
"data": null
}{
"success": false,
"message": "Error sending OTP",
"code": 0,
"data": null
}Take a look at how you might call this method using our official libraries, or via curl:
Last updated
Was this helpful?