- Quick start guide
- System requirements
- Installation guide
- Mobile networks
- User guide
- Developers guide
- SMS from SQL
- HTTP API
- HTTP API user
- Get Started
- Send message
- Receive message
- URL encode
- PHP SMS API
- C# SMS API
- VB.NET SMS API
- Service providers
HTTP SMS API
The HTTP SMS API implemented by Ozeki 10 SMS Gateway provides a great, easy to use interface, that allows software developers to send and receive SMS messages. The following pages give you information on how to use this technology, with several free to use / free to customize examples.
To send an SMS message using the HTTP API you need to issue an HTTP request (Figure 1).
You can use the HTTP GET or the HTTP POST method, when you send this request to Ozeki 10 SMS
Gateway. After the request is sent, you will receive a response.
Figure 1 - Send an SMS messages through the built in webserver
To send an SMS messages you need to follow a few simple steps. First you need to
create an HTTP API user, then you need to write an HTTP request, then you need
to submit your request to the SMS Gateway.
Make sure Ozeki 10 SMS Gateway is installed
Create an HTTP API user
Write an HTTP request to send the SMS
Write an HTTP request to send many SMS messages
HTTP SMS API examples
How to send SMS from C#
How to send SMS from Java
How to send SMS from Python
How to send SMS from Ruby
How to send SMS from Perl
How to send SMS from PHP
How to send SMS from Chrome
When an SMS message arrives to the Ozeki SMS gateway, it is stored in
a message folder, called inbox. If you want to check incoming SMS messages one
of your options is to download the contents of the inbox folder using HTTP.
The following URL gives more information about how to download the contents
of a message folder:
How to download incoming SMS messages How to send a reply SMS
If you want to process incoming SMS messages as soon as they arrive to your
system, you may want to setup an HTTP Client
user in Ozeki SMS Gateway. This
HTTP Client user can forward incoming messages to your web application(s) as
HTTP GET or HTTP POST requests (Figure 2).
Figure 2 - HTTP Post on incoming SMS
The following webpage gives information on how to configure your SMS gateway to forward your SMS messages to an external web application:
HTTP Client user
Note that you can write this external web application in any programming language. We have examples for PHP SMS processing, ASP SMS processing and Java SMS processing.
Your web application can also return a response SMS message in the HTTP response.
This response SMS messages will be forwarded back to the recipient handset. The
following URL has information about the proper response format your web
application can use:
HTTP response format for returning SMS response(s)