RapidAPI logo

SMS sending

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

SMS sending API Documentation

Send bulk SMS all around the world, 200 countries covered and more than 700 operators are available. See http://www.allmysms.com/en/api-sms/ for more details and documentation.

View API Details
Set
POSTsendSms
POSTsimulateCampaign
POSTcreateList
POSTpopulateList
POSTcreateSubAccount
Get
GETgetInfo
GETgetBlacklist
GETgetAcks
GETgetPull
GETgetSubAccounts
GETgetLists
GETgetContacts
Delete
DELETEdeleteCampaign
DELETEdeleteSubAccount
DELETEdeleteContacts
DELETEdeleteList
POSTsendSms

Send SMS

Authorization:

allmysms.com API authentication

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
smsdataSTRING
REQUIREDcontains message and mobile phone numbers
loginQUERY
REQUIREDallmysms.com login
apiKeyQUERY
REQUIREDallmysms.com API key
Code Snippet
unirest.post("https://allmysms-v9.p.rapidapi.com/sendSms")
.header("X-RapidAPI-Host", "allmysms-v9.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://allmysms-v9.p.rapidapi.com/sendSms
Request Method: POST
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.post("https://allmysms-v9.p.rapidapi.com/sendSms")
.header("X-RapidAPI-Host", "allmysms-v9.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication