How to use Postman to test the Ozeki SMS Gateway API

This tutorial demonstrates how to use postman to test the various HTTP/JSON/REST API calls offered by Ozeki SMS Gateway. By following the steps in this guide, you will download the Postman API testing tool, create sample API requests and send a test SMS using Postman. You will also see the response returned by Ozeki SMS Gateway for the API request.

Step 1 - Create an HTTP API user in Ozeki SMS Gateway

[Video 1]

Step 2 - Download and Install Postman

Download URL:

https://www.postman.com/downloads/

[Video 2]

Step 3 - Send a HTTP GET request with Postman to send an SMS

[Video 3]

Step 4 - Example request

Example request

https://127.0.0.1:9510/api?command=SendMessage&Username=ht1&Password=qwe123& Recipient=06203105366&MessageType=SMS:TEXT&MessageData=Hello+World&responseformat=json

Example response

{
	"response": {
		"action": "sendmessage",
		"data": {
			"acceptreport": {
				"statuscode": 0,
				"statusmessage": "Message accepted for delivery",
				"messageid": "a79af012-741b-4272-ba59-427524f2e546",
				"recipient": "06203105366",
				"messagetype": "SMS:TEXT",
				"messagedata": "Hello World"
			}
		}
	}
}

More information