theme
Mitto SMS Developers Guide
FREEMIUM
By kabezaaa
Updated 3 months ago

Mitto SMS Developers Guide API Documentation

Guideline for easy integration of Mitto SMS service.

Learn more about this API
POSTMitto SMS Endpoint
POSTMitto SMS Endpoint

Call this endpoint to send SMS sending request

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
X-Mitto-API-KeySTRING
REQUIREDKey that is required to be entered as an authentication method
Required Parameters
FromSTRING
REQUIREDSender ID of the SMS message seen on the receivers phone
toNUMBER
REQUIREDPhone number that you are sending SMS to
textSTRING
REQUIREDContent of the SMS message
Optional Parameters
udhSTRING
OPTIONALCustom Hex-encoded User Data Header.
flashBOOLEAN
OPTIONALWhen set to true it will send the message in Flash mode.
referenceSTRING
OPTIONALA customer reference. It is possible to set a different reference string for each message or tag multiple messages with the same string and group them together. Further details can be found at Delivery Reports and Adding Metadata to the Message.
validityNUMBER
OPTIONALValidity period of the SMS message in minutes. When not specified, the validity of a message defaults to 2,880 minutes (48 hours).
pidNUMBER
OPTIONALProtocol identifier. Must be consistent with the udh parameter value. When not specified, defaults to 0.
testBOOLEAN
OPTIONALWhen set to true, the API call is in test mode (No actual SMS is delivered) and "test": true is returned in the response. For test calls, there is no id parameter in the response. When set to false, the API call is made in production mode. An actual SMS is delivered, and the id parameter is returned in the response. In addition to that, "test": true is also returned. When not specified (the default), the API call is made in production mode. The id parameter is returned in the response, but not the test parameter. Please also refer to Making Test API Calls.
typeSTRING
OPTIONALCharacter set in which the message content will be encoded. If not specified, the default encoding (GSM) is used For Unicode, set type=Unicode. For Binary, set type=Binary.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication