Branded SMS Pakistan

FREE
By BrandedSMSPakistan
Updated 3 months ago
SMS
1.6/10
Popularity Score
1134ms
Latency
100%
Success Rate

Branded SMS Pakistan API Documentation

Branded SMS Pakistan provide Mask Messaging Gateway in Pakistan

View API Details
GETSend Single Message
GETAccount Balance
GETMessage Delivery Status
GETSend Single Message

This API is useful to send a branded sms to single number

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
messageSTRING
REQUIREDMessage Limited to 640 characters
emailSTRING
REQUIREDAccount Email Address
keySTRING
REQUIREDAccount API Key
maskSTRING
REQUIREDMasking (Branded Name)
toNUMBER
REQUIREDDestination Number (Default Format) 923151231016
Optional Parameters
statusBOOLEAN
OPTIONALReturn Message ID
Code Snippet
unirest.get("https://branded-sms-pakistan.p.rapidapi.com/send?to=<required>")
.header("X-RapidAPI-Host", "branded-sms-pakistan.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://branded-sms-pakistan.p.rapidapi.com/send
Request Method: GET
Response Headers
Response Body

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://branded-sms-pakistan.p.rapidapi.com/send?to=<required>")
.header("X-RapidAPI-Host", "branded-sms-pakistan.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