- Quick start guide
- System requirements
- Features
- Technology
- Installation guide
- Mobile networks
- SMS from Application and Office
- Developers guide
- SMS from SQL
- C# SMS API
- HTTP SMS API
- HTTP API user
- Compatibility
- Get Started
- Send message
- Receive message
- URL encode
- Languages
- HTTPS
- Batch SMS
- PHP SMS API
- VB.NET SMS API
- Programming APIs
- Service providers
- Linux SMS gateway
- Administrators guide
- SMS Marketing Platform
- Appendix
- Training
Ozeki brings you outstanding
SMS Gateway technology. Use our SMS Server products on Windows,Linux, or Android
C# SMS API
Developers can use our C# SMS API to send SMS from C#.Net. The C# SMS API comes with full source code
PHP SMS API
The ozeki PHP SMS gateway software can be used to send SMS from PHP and to receive SMS usig PHP on your website
SMPP SMS Gateway
SMS service providers use our SMPP gateway solution, that offers a high performance SMPP server and SMPP client gateway with amazing routing capabilities
HTTP API - Get Started
The HTTP API allows you to send and receive SMS messages through your Ozeki SMS Gateway with the help of HTTP requests. Requests can be done using both the GET and POST HTTP methods and you can use http or https, depending on your configuration.
For each HTTP request, you must include a set of mandatory parameters. These are: action, username and password. The action defines the command you wish to execute and the username and password identify you. To How to create an HTTP API user guide gives you information about how to create a username and password.
Example HTTP request:
https://127.0.0.1:9508/api?action=sendmessage&username=admin&password=abc123&
recipient=06203105366&messagedata=Hello+World
Example HTTP response:
StatusCode: 200, ReasonPhrase: 'OK'
You are advised to try this example with the HTTP API Tester which is a GUI interface for Ozeki SMS Gateway API testing. You can find the HTTP API Tester tutorial here.
Mandatory parameters in every HTTP API request
Parameter | Description | Possible values | Example | M/O* |
action | The name of the action. | sendmessage, receivemessage, | action=sendmessage | M |
username | Specifies the username. The username and password parameters are used to authenticate the user. When you send an message it will be sent in the name of the authenticated user. The value must be URL encoced. | string value | username=admin | M |
password | Specifies the password. The username and password parameters are used to authenticate the user. When you send an message it will be sent in the name of the authenticated user. The value must be URL encoced. |
string value, minimum length: 6 characters |
password=abc123 | M |
* M = Mandatory parameter, O = Optional parameter
To sum it up
In the article above, we provided some information about the HTTP API. Using an HTTP API means that you can manage your SMS messages with HTTP requests. The Ozeki SMS Gateway is a crucial element of this system. Using HTTP requests to send and receive SMS messages means that you can build a system that can send and receive SMS messages using a web browser. This will make information flow much faster in your organization.
If you want to learn more about this system, you can visit our webpage where you can find articles about using the HTTP SMS API to send or to receive messages.
The first step of developing a solution that can send and receive messages using a web page, is to download the Ozeki SMS Gateway.
More information
- Create an HTTP SMS API user account
- Compatibility
- HTTP SMS API send SMS example
- HTTP SMS API receive SMS example
- HTTP SMS API url encoder
- Top 10 SMS API for programmers
- How to send SMS over HTTPS
- Scheduled Batch SMS Jobs