Follow

How to receive SMS or Text Messages from users?

How does it work?

Step 1: User sends a text message to an assigned short code or virtual phone number.

Step 2: Message received by our SMS gateway from wireless carrier.

Step 3: SMS Gateway parses the message, and redirect to clients’ web server based on the short code, virtual number, and prefix assigned.

Requirements

Client should set-up a web service to receive messages from Our SMS Gateway. We will forward a text message to client's web server in the HTTP GET call.


When configured you can pickup values from our GET request in using PHP as following:

***********************************************************

<?php

$sender = $_REQUEST['MobileNumber'];
$content = $_REQUEST ['Message'];
$inNumber = $_REQUEST ['shortcode']; 
$Rcvd = $_REQUEST ['Rcvd'];
?>

***********************************************************

HTTP PARAMETERS

HTTP URL: http://[client web service url]?MobileNumber=xxxxxxxx&Message=xxxxxxx&SMSINBOXID=xxxxx&shortcode=xxxx
HTTP METHOD: GET 
Parameters:
MobileNumber: User’s mobile number 
Message: Text Message sent by user
Rcvd: Message received date & time 
SMSInboxid: Reference number for all incoming messages

Once you have your web server call back service is ready, you can create a developer API campaign and map with your short code and keyword or to a dedicated virtual number.



Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk