Programmable sms for free.

Turn your sms flat into programmable sms:

  • Install our sms adapter app (*.apk) below.
  • Request your API key in the smsinfojob app
  • Use below code snippet for sms sending
What is Smsinfojob

Smsinfojob - Programmable SMS uses your sms flat in order to send programmable sms. In order to send programmable sms you need to install the smsinfojob app below. Right in the beginning give the app the permission to send sms on your smartphone. Provide a valid email adress and request an API key. Please make sure that your provider offers you a sms flatrate! To use https (secure) in below code snippet make sure that you implement with the newest JDK version. Data privacy: Our communication is secure. We do not store mobile numbers and messages you send through our REST API.

How smsinfojob works
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
package de.sms.info.job.smsinfojob;

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.URL;
import java.net.URLConnection;
import com.google.gson.Gson;

public class SmsInfoJob

{
	@SuppressWarnings("unused")
	public static void main(String[] args) throws Exception {
		URL urlHttps = new URL("https://smsinfojob.com:9445/Menu/api/smsinfo/sendMessage");
		URL urlHttp = new URL("http://smsinfojob.com:8080/Menu/api/smsinfo/sendMessage");
		Gson javaToJson = new Gson();
		
		Message aMessage = new Message();
		aMessage.setToNumber("+4945678967");
		aMessage.setMessage("Hello Client!");
		aMessage.setApiKey("access#xxxxxxxxxx"); // Your API Key
		
		URLConnection connection = urlHttps.openConnection();
		connection.setDoOutput(true);
		connection.setRequestProperty("Content-Type", "application/json");
		connection.setConnectTimeout(5000);
		connection.setReadTimeout(5000);
		OutputStreamWriter out = new OutputStreamWriter(connection.getOutputStream());
		out.write(javaToJson.toJson(aMessage).toString());
		out.close();

		BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
		String line;
		while ((line = in.readLine()) != null) {
			System.out.println(line);
		}
		in.close();
	}

	@SuppressWarnings("unused")
	private static class Message {
		String toNumber;
		String message;
		String apiKey;

		public void setApiKey(String apiKey) {
			this.apiKey = apiKey;
		}

		public void setToNumber(String toNumber) {
			this.toNumber = toNumber;
		}

		public void setMessage(String message) {
			this.message = message;
		}
	}
}