How to create an HTTP API user

In order to use the HTTP API, you need to create an HTTP API user. During this procedure you will be able to specify a username and a password. You can use this username and password to connect to the HTTP API service of Ozeki SMS Gateway to submit your messages, or to download the incoming messages. This guide gives you the steps to take to setup an HTTP API user.

Prerequisites

Ozeki sms gateway needs to be installed

Video tutorial

Video 1 - How to install Ozeki SMS Gateway (Video tutorial)

Step 1 - Add new user/application

You can simply install the HTTP API User on the Management console by clicking Add new user/application... in the Users/Applications panel (Figure 1).

add new user or application
Figure 1 - Add new user/application...

Step 2 - Add HTTP API User

An interface will open consisting of two panels. The left-side panel contains the already installed users and applications. The right-side panel contains the users and applications you can install with a brief description next to them. Find the HTTP API User and click the blue 'install' button next to it (Figure 2).

add http api user
Figure 2 - Add HTTP API User

Step 3 - Configure username and password

On the Name section provide the unique name for the HTTP User and provide the username and password for the authentication (Figure 3).

configure username and password
Figure 3 - Configure username and password

Step 4 - HTTP API User details page

After you click on the OK the details page of the HTTP User will appear (Figure 4).

http api user details page
Figure 4 - HTTP API User details page

Step 5 - HTTP API Service

In the advanced menu you can find the HTTP API service for the user. Open the details page of the service as you can see on the Figure 5.

http api service
Figure 5 - HTTP API Service

Step 6 - HTTP Service events

The HTTP service Events tab shows the logs for the HTTP API and here you can see the port where the service is listening for the requests (Figure 6).

http service events
Figure 6 - HTTP Service events

Step 7 - Send an HTTP request form your application

The HTTP API service is capable of receiving HTTP requests from your application. This can be done by using the SMS API, that can initiate HTTP requests and send them to the HTTP API service that can process the HTTP requests and sends the SMS message. The link below contains example codes of how you can send SMS messages from applications written in different programming languages.

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

Step 8 - Message received

If a message is received by the HTTP API service, you can see it in the logs (Figure 7).

message received
Figure 7 - Message received

Step 9 - HTTP API User sent folder

Also, you can find the message in the HTTP API user Sent folder (Figure 8).

http api user sent folder
Figure 8 - HTTP API User sent folder

FAQs

What is an HTTP connection?

The development of the World Wide Web (WWW) was driven by the Hypertext Transfer Protocol (HTTP). This application-level protocol facilitates communication between distributed, collaborative hypermedia information systems, essentially web browsers and servers.

What is an API?

An API (Application Programming Interface) is a collection of tools and rules that software programs can use to communicate with each other. These tools can include functions, data formats, and communication protocols. APIs are provided by libraries or operating systems, and they save developers time and effort by allowing them to reuse existing code instead of writing everything from scratch.

What APIs do you provide?

This software empowers developers with a diverse range of APIs (Application Programming Interfaces) to integrate its functionalities into their applications. These APIs cater to various programming languages, including popular choices like SQL, HTTP, Email, and File.

For added convenience, the software provides extensive code examples in C#, C++, ASP VB, PHP, Java, and Delphi. This allows developers to jump-start their integration process by leveraging pre-written code snippets that showcase how to interact with the software's features through the available APIs.

Summary

This article is about creating an HTTP API user. Having an HTTP API user means that you can use the HTTP API with your software. This article will show you how to specify a username and a password to have better security. The HTTP API will make implementing an SMS function to your software easy to satisfy customer needs.

If you would like to find out more information about the Ozeki SMS Gateway, make sure to visit the Ozeki webpage. We advise you to start with the page about the HTTP SMS API Also, you can get more information about sending SMS with the HTTP SMS API.

Now your next thing to do is to download Ozeki SMS Gateway and configure this solution immediately! Everything is there to get it up and running in less than 10 minutes.

More information