Home
RECOMMENDED FOR YOU:
SMS Gateway software
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
Ozeki 10 SMS Gateway

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

More information