Get a Free WhatsApp Business Account – Includes Onboarding, API Access & Sandbox. Apply Now!


Sample Code For Send Voice in Node.js

Sending Voice using Authkey APIs is a breeze and lightning fast. You can simply pass the message body, message sender, mobile number & authkey in the API request to send sms instantly.

Node.js Sample Code For Sending SMS



var request = require("request");
var options = { method: 'GET',
url: 'https://api.authkey.io/request',
qs: 
{ authkey: 'YourAuthKey',
sms: 'Hello, This is test message from Authkey.io',
mobile: 'RecepientMobile',
country_code: 'CountryCode',
sender: 'SENDERID' },
};

request(options, function (error, response, body) {
if (error) throw new Error(error);

console.log(body);
});

Sending SMS using Authkey APIs is a breeze and lightning fast. You can simply pass the message body, message sender, mobile number & authkey in the API request to send sms instantly.