Developer
Implement comprehensive messaging services into your software by using simple APIs.
Your software sends a request to our SMS gateway
Our SMS gateway checks the request, returns a response code and hands over the SMS to the carrier
The SMS will be delivered within seconds
By using the simplest HTTP GET Request, you can integrate our SMS solutions into your application in just a few minutes. You can control your processes via various parameters during the SMS transmission. We are happy to help you with the realization of your projects.
curl https://gateway.sms77.io/api/sms
-d "p=your API key"
-d "to=4917612121212"
-d "text=Hello, this is a test SMS"
-d "from=sender"
$params = array(
'p' => 'API key',
'to' => '4917612121212',
'text' => 'Hello, this is a test SMS',
'from' => 'sender'
);
$url = 'https://gateway.sms77.io/api/sms?' . http_build_query($params);
$ret = file_get_contents($url);
if($ret == '100')
echo "SMS sent";
else
echo "SMS not sent (error: " . $ret . ")";
import java.net.*;
import java.io.*;
public class sms {
public static void main(String[] args) {
String urlString = "https://gateway.sms77.io/api/sms/?p=apikey&to=...&text=....&from=...";
String output = getUrlContents(urlString);
System.out.println(output);
}
private static String getUrlContents(String theUrl)
{
StringBuilder content = new StringBuilder();
// many of these calls can throw exceptions, so i've just
// wrapped them all in one try/catch statement.
try
{
// create a url object
URL url = new URL(theUrl);
// create a urlconnection object
URLConnection urlConnection = url.openConnection();
// wrap the urlconnection in a bufferedreader
BufferedReader bufferedReader = new BufferedReader(
new InputStreamReader(urlConnection.getInputStream())
);
String line;
// read from the urlconnection via the bufferedreader
while ((line = bufferedReader.readLine()) != null)
{
content.append(line + "n");
}
bufferedReader.close();
}
catch(Exception e)
{
e.printStackTrace();
}
return content.toString();
}
}
For implementation with Ruby, you can use the Gem of a third-party vendor. The Gem is available here. Please note that this has not been tested by us.
require "ruby_sms"
sms = RubySms.new(api_key: "1234123", user: "user@email.com")
response = sms.send(message: "your message", to: "+49178223", delay: false)
if response.success?
puts "Sms deliverd "
else
puts response.errors
end
Sign up for free and get your test credits. No commitment, no long-term contract. Get it now.