RapidAPI logo

TextIt

FREE
By community
Updated 4 months ago
Communication
1.9/10
Popularity Score
361ms
Latency
-
Success Rate

TextIt API Documentation

Easily create interactive SMS applications anywhere in the world. At the core of TextIt lies our exclusive Flow engine. With Flows, anybody can set up or modify a complex SMS application without the need of a programmer or expensive consulting company. Using a basic Android phone, you can launch your application instantly in any country while avoiding expensive set-up costs or external technical support.

View API Details
Relayers
GETList Relayers
POSTClaim Relayers
DELETERemove Relayers
Calls
GETCalls
SMS
GETListing SMS Messages
POSTSending Messages
GETList Relayers

A GET returns the list of Android relayers for your organization, in the order of last activity date. Note that all status information for the device is as of the last time it was seen and can be null before the first sync.

Authorization:

Get your Token at https://textit.in/api/v1

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
AuthorizationHEADER
REQUIREDToken YOUR_API_TOKEN_GOES_HERE
Optional Parameters
phoneSTRING
OPTIONALthe phone number for the relayer (string) (filterable: phone)
countrySTRING
OPTIONALwhich country the sim card for this relayer is registered for (string, two letter country code) (filterable: country)
power_statusSTRING
OPTIONALthe power status, either STATUS_DISCHARGING or STATUS_CHARGING (string)
power_levelSTRING
OPTIONALthe power level of the device (int)
last_seenSTRING
OPTIONALthe datetime when this relayer was last seen by TextIt (datetime) (filterable: before and after)
relayerSTRING
OPTIONALthe id of the the relayer (long)
nameSTRING
OPTIONALthe name of this relayer (string)
power_sourceSTRING
OPTIONALthe source of power as reported by Android (string)
network_typeSTRING
OPTIONALthe type of network the device is connected to as reported by Android (string)
pending_message_countSTRING
OPTIONALhow many messages are assigned to this relayer but not yet sent (int)
Code Snippet
unirest.get("https://community-textit.p.rapidapi.com/relayers.json")
.header("X-RapidAPI-Host", "community-textit.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://community-textit.p.rapidapi.com/relayers.json
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://community-textit.p.rapidapi.com/relayers.json")
.header("X-RapidAPI-Host", "community-textit.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