Two Way SMS
Communication goes both ways. Don’t neglect your customers’ feedback. Combine Routee’s fast and secure SMS API with a Virtual Number and enable inbound messages from your audience.
Communication Build in Simple Lines
Using Routee API you are able to build your communication event-driven in less than 30 minutes. Use our powerful API to build your flow of communication.
<?php
// read input data from POST
$request = json_decode(file_get_contents('php://input'), true);
// set file name
$log_file_name = "my-inbound-logs.log";
// check if log file already exists
if (!file_exists($log_file_name)) {
//create a file in not exists
$log_file_create = fopen($log_file_name, 'w');
fclose($log_file_create);
chmod($log_file_name, 0755);
}
// Check for null request
if ($request == null) {
//save message to a specific log file
error_log("Request is null\n", 3, $log_file_name);
return;
}
// Check that this is an inbound message
if (!isset($request['direction']) == 'Inbound') {
//save message to a specific log file
error_log("This is not an inbound message\n", 3, $log_file_name);
return;
}
// Write data to log file
error_log("The following inbound message: ".$request['message']." with messageId: ".$request['messageId']." was received at: ".$request['receivedDate']."\n", 3, $log_file_name);
View complete examplesTWO WAY - TWO OPTIONS
There are two ways to utilize Two Way SMS. Your customers may reply to the message you sent them through a Virtual Long Number or they can initiate the communication using a short code number. A Virtual Long Number is your typical mobile number that you get for your SIM card and has 12 digits, for example: 435674135186. A short code is a number of 3 to 6 digits and is perfect for receiving SMS from one source to a single place.
WORK SMART NOT HARD
With Routee’s Two Way SMS you can do A/B testing on a greater scale than just buttons or design options. Say you get 3 different numbers and match each one to a source of advertising like three different radio stations. When you get the results back, you can see what number was used the most, meaning this station is the most popular or its audience communicates the most. Next time, you’ll only focus on the channels that performed better. Simple, isn’t it?
CONSENT SHOULD BE EARNED
New regulations about Personal Data like the GDPR restrict your actions of communication unless you have your customers’ so-called Opt-in. They have to specify they want to receive content from you. Well, what easier way is there but to ask? With Two Way SMS you can receive their messages, too, meaning they can notify you on whether they want to continue receiving content from you or not
DON'T FORGET ABOUT YOUR SECURITY
Enabling a two-way channel of communication with your customers is great but don’t you want to make sure they are who they say first? Now you can! Add an extra layer of security to your app with Two Factor Authentication.
SOME OF OUR CUSTOMERS' STORIES
WANT TO LEARN MORE?
NEWSLETTER
Powered by AMD
Powered by one of the three top ranked global leaders in connectivity for the telecommunications industry, to be precise. Routee expands communication capabilities between people, applications, corporations and machines providing maximum security and data protection.