RapidAPI logo

SMS Text messaging gateway function

FREE
By innovativetext
Updated 4 months ago
Communication
2.1/10
Popularity Score
916ms
Latency
-
Success Rate

SMS Text messaging gateway function API Documentation

SMS TEXT API GATEWAY - CLOUD RESTFUL AND LIGHTWEIGHT API

Send and receive text messages directly from and to your web application or IT systems via our API. With access to our well documented and supported API you will be able to connect directly

View API Details
GETSendSMS
GETSendSMS

Send SMS Text Messages

Authorization:

Signup for Free at www.innovativetxt.com, get free credits to send and receive SMS Text Messages. Build Text Messaging Into Your Application!

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
fromSTRING
REQUIREDRequired – Sender Name (Alpha Numeric or Dedicated Long Code)
toSTRING
REQUIREDRequired – Mobile number in International Format & and one recipient per request. e.g. 447874481555 for UK
messageSTRING
REQUIREDRequired – Message to be sent
typeSTRING
REQUIREDOptional. Not required for normal text messages. This needs to be set to unicode, if sending the unicode message. ( e.g for Message in Arabic).
api_keyQUERY
REQUIREDYour Innovativetxt.com Assigned API Key
api_secretQUERY
REQUIREDYour Innovativetxt.com Assigned API Password
Code Snippet
unirest.get("https://innovativetxt.p.rapidapi.com/http://rest.innovativetxt.com/smsapi/?from=CompanyName&to=447873684255&message=Text_Message&type=Message_Type")
.header("X-RapidAPI-Host", "innovativetxt.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://innovativetxt.p.rapidapi.com/http://rest.innovativetxt.com/smsapi/
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://innovativetxt.p.rapidapi.com/http://rest.innovativetxt.com/smsapi/?from=CompanyName&to=447873684255&message=Text_Message&type=Message_Type")
.header("X-RapidAPI-Host", "innovativetxt.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