var settings = {"url":"https://api.getspendo.com/gateway/api/v1/send/whatsapp","method":"POST","timeout":0,"headers": {"apiKey":"test_api_key","Content-Type":"application/json" },"data":JSON.stringify({"message":"string","phoneNumber":"string" }),};$.ajax(settings).done(function (response) {console.log(response);});
apiKey*
String
The API key that you get from spendo's dashboard.
language*
String
Language e.g (ha, en)
phoneNumber*
String
The phone number of the recipient, formatted as a string without any spaces or special characters.
name
String
User's Full name
otp
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.