RapidAPI logo

Sign Up

Log In

D7SMS

FREE
By d7admin
Updated 3 months ago
SMS
7.6/10
Popularity Score
205ms
Latency
61%
Success Rate

D7SMS API Documentation

Quickly integrate Direct7 SMS Gateway and reach your customers over D7's own connectivity to global mobile network.

View API Details
Balance
GETbalance
SMS
POSTsend
POSTsendbatch
GETbalance

Get user account’s balance and quota.

Authorization:

API-Key

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
AuthorizationHEADER
REQUIREDBasic + Account credentials as username:password pairs, encoded using base64 Example: (Basic Zm9vOmJhcg==)
Request Snippet
unirest.get("https://d7sms.p.rapidapi.com/secure/balance")
.header("X-RapidAPI-Host", "d7sms.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
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://d7sms.p.rapidapi.com/secure/balance")
.header("X-RapidAPI-Host", "d7sms.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