Sending OTP
This endpoint allows you to send a one time password to your users.
SEND
POST
https://smsapi-sur2.onrender.com/
api/whatsapp/send
Headers
Name
Value
Content-Type
application/json
x-api-key
Your Api Key
Body
Name
Type
Description
code
string
One time password
recipient
string
MSISDN of recipient
Response
{
"status": "ok",
"description": "The request has succeeded",
"data": {
"msg_id": "yHhKrRghj",
"recipient": "23490########",
"status": "Submitted"
}
}
Last updated