All for Joomla All for Webmasters
+92 3122699633

Eazita API Documentation

Eazita is the easy & fast way to connects your apps/websites directly to carriers around the world, Eazita APIs allow developers to gain easy access to a range of Eazita mobile services. This document provides developers with instruction for integrating SMS, Voice Call, HLR Services into various solutions using Eazita HTTP application programing interface (HTTP API). Eazita’s application programming interface (API) provides the communication link between your application and Eazita’s Gateway, allowing you to send and receive text messages and to check the delivery status of text messages you’ve already sent & Send Voice Calls OR do HLR look-up. Getting started is free and simple. Signing up takes less than a minute and you’ll be up and running in no time at all. We’re developers too, So feel free to get in touch if you run into any issues – we’re here to help.

MT Messaging API

All requests are submitted through the HTTP POST or GET method, if you Send data through both GET and POST method then SMS will send through POST method.

HTTP Plain API

Request URL

https://api.eazita.com/plain

Parameters

Sample

https://api.eazita.com/plain?api=95zxf14&pass=12345&from=eazita&code=86&to=25446345&msg=Sended+using+www.eazita.com

Status Code

After submitting a request to the eazita’s API, you will receive an response code and the response code will indicate the success or failure for your request on the eazita platform.

ParameterDescription
1The message was successfully accepted for delivery by eazita
-1Your request is incomplete and missing some mandatory parameters
-2The API Key / password you supplied is either invalid or disabled
-3Your eazita account does not have sufficient credit to process this message
-4Sender name is not allowed
-5Number is not recognized by our sms platform.
-6General error, reasons may vary
-7An error has occurred in the eazita platform whilst processing this message

HTTP JSON API

Request URL

http://api.eazita.com/json

Parameters

Sample

https://api.eazita.com/json?api=API-KEY&pass=Password&code=Country-Code&to=Receiver&from=Sender&type=Type&msg=Messsage

JSON single SMS response

  After submitting a request to the Eazita’s API, you will receive an response in json.

{"type":"Text","totalprice":"0.02","totalgsm":"1","remaincredit":"63.6433","messages": [
{"status":"1","messageid":"1000","gsm":"923122699633"}
]}

JSON multiple SMS response

{"type":"Text","totalprice":"0.05","totalgsm":"6","remaincredit":"63.6433","messages": [
{"status":"1","messageid":"157157","gsm":"9211111111111"},
{"status":"1","messageid":"157154","gsm":"9211111111112"},
{"status":"1","messageid":"157151","gsm":"9211111111113"},
{"status":"1","messageid":"157149","gsm":"9211111111114"},
{"status":"1","messageid":"157142","gsm":"9211111111115"},
{"status":"1","messageid":"157130","gsm":"9211111111116"}
]}

Status Code

 After submitting a request to the eazita’s API, you will receive a response in JSON that includes response codes for each recipient and this code will indicate the success or failure for your request on the eazita platform.

ParameterDescription
1The message was successfully accepted for delivery by eazita
-1Your request is incomplete and missing some mandatory parameters
-2The API Key / password you supplied is either invalid or disabled
-3Your eazita account does not have sufficient credit to process this message
-4Sender name is not allowed
-5Number is not recognized by our sms platform.
-6General error, reasons may vary
-7An error has occurred in the eazita platform whilst processing this message