TEXT MESSAGE DEVELOPER SMS APIS
How it works?
- STEP1: User sends a text message to an assigned shortcode.
- STEP2: Message received by Wire2Air server from carrier.
- STEP3: Wire2Air parses the message, and redirect to client’s server based on short code, and prefix assigned.
Client should set a web service to receive messages from Wire2Air servers. Wire2Air will send a message to client server in the following format. When configured you can pickup values from our GET request in following way using PHP
<?php $sender = $_REQUEST['MobileNumber']; $content = $_REQUEST ['Message']; $inNumber = $_REQUEST ['shortcode']; $Rcvd = $_REQUEST ['Rcvd']; ?>
http://[client web service url]?
MobileNumber: User’s mobile number
Message: Text Message sent by user
Rcvd: Message received date & time
shortcode: Texting number to which a text message was sent