RapidAPI logo

SMS2USA

FREE
By blaazetech
Updated 4 months ago
Communication
6.5/10
Popularity Score
4555ms
Latency
-
Success Rate

SMS2USA API Documentation

Send unlimited free SMS to USA using our service provided by http://sms2usa.msgbolt.com/

View API Details
GETApi endpoint for sending sms to usa
GETApi endpoint for sending sms to usa

Api endpoint for sending sms to usa from our msgbolt services.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
toNUMBER
REQUIREDmoblie number to which sms to be sent
msgSTRING
REQUIREDmessage to be sent in sms
apikeySTRING
REQUIREDapi key obtained from http://sms2usa.msgbolt.com/
Code Snippet
unirest.get("https://sms2usa.p.rapidapi.com/api.php?to=6175005361&msg=hi+this+is+a+message+from+sms2usa+of+msgbolt&apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
.header("X-RapidAPI-Host", "sms2usa.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://sms2usa.p.rapidapi.com/api.php
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://sms2usa.p.rapidapi.com/api.php?to=6175005361&msg=hi+this+is+a+message+from+sms2usa+of+msgbolt&apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
.header("X-RapidAPI-Host", "sms2usa.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