RapidAPI logo

HQSMS

FREE
By community
Updated 4 months ago
Communication
-/10
Popularity Score
-
Latency
-
Success Rate

HQSMS API Documentation

HQSMS is a global SMS provider offering SMS gateway and specializing in SMS text messaging solutions : SMS notices, bulk SMS and HLR lookup service. HTTPS API interface allows you to inegrate most of on-line applications.

View API Details
GETSend SMS
GETSend SMS
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
fromSTRING
REQUIREDSender name have to be activated
messageSTRING
REQUIREDContent of message
toSTRING
REQUIREDDestination number
passwordQUERY
REQUIREDMD5 password
usernameQUERY
REQUIREDUsername used in HQSMS
Code Snippet
unirest.get("https://community-hqsms.p.rapidapi.com/sms.do")
.header("X-RapidAPI-Host", "community-hqsms.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://community-hqsms.p.rapidapi.com/sms.do
Request Method: GET
Response Headers
Response Body
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://community-hqsms.p.rapidapi.com/sms.do")
.header("X-RapidAPI-Host", "community-hqsms.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication