EBULKSMS

Similar documents
MultiTexter.com Smart Messaging System. HTTP Application Programming Interface

All requests must be authenticated using the login and password you use to access your account.

version 2.0 HTTPS SMSAPI Specification Version 1.0 It also contains Sample Codes for -.Net - PHP - Java

API Specification Doc

HTTP API-HELP DOCUMENT

HTTP API. Table of Contents

Wired 2 Wireless Technology Solutions API Help Document Copyright Introduction. 2. Parameter list

API Documentation. Release Version 1 Beta

2. On completing your registration you will get a confirmation . Click on the link or paste the link into your browser to validate the account.

Overview Introduction Messaging Error Codes Message parameter details Contact Details... 7

API USER GUIDE MARKETING MESSAGES & BROADCASTS

Quriiri HTTP MT API. Quriiri HTTP MT API v , doc version This document describes the Quriiri HTTP MT API version 1 (v1).

Message parameter details

Requirement Document v1.2 WELCOME TO CANLOG.IN. API-Key Help Document. Version SMS Integration Document

Way2mint SMS Mobile Terminate (MT) API Guide for HTTP / HTTPS

XML API SMS GATEWAY. Issue 2.0 Dec XML API

Postman User Guide. Document Reference: July Version: 2

Response: Note: Please define Dynamic Value in ##Field## The following are the parameters used: For Unicode Message:

Way2mint SMS Mobile Terminate (MT) API Guide for HTTP HTTPS

Gatesms.eu Mobile Solutions for Business

External HTTPS Trigger AXIS Camera Station 5.06 and above

REST SERVICE. Web Services API Version 1.5

Quick Answers. You may create any Sender ID for the transactional route, provided the Sender ID should be of 6 alpha characters only.

Getting To the Train on Time. (OK, really it s When the Heck Will We Get Home! )

REST Admin API. Note: Version 9.X or higher is required for the support of REST API. Version /17

SMSCenter. SMSCenter API

LINK Mobility SMS REST API MT and Delivery Reports Version 1.3; Last updated September 21, 2017

Requirement Document v1.1 WELCOME TO CANLOG.IN. API Help Document. Version SMS Integration Document

SMS Aggregation - API Documentation

ENTERPRISE BULK SMS. SMSHUB HTTP API Specification V3.0 Released 9 th August 2013

Requirement Document v1.1 WELCOME TO CANLOG.IN. API Help Document. Version SMS Integration Document

SMS HTTP API DOCUMENTATION December 2012

Kapow SMS libraries: Integrating SMS support with your PHP, and Windows applications

HTTP Based Unified API

Connect Media Bulk SMS API Documentation

User Manual RouteSms SmsPlus Desktop. Version 1.0

Excel-SMS Enotified. Excel-SMS Help Manual

ACCUZIP EDDM UI REST API CALLS. 100% Cloud Based EDDM List Creation. Abstract EDDM UI to select Carrier Route Boundaries throughout the United States

Requirement Document v1.2 WELCOME TO CANLOG.IN. API-Key Help Document. Version SMS Integration Document

Technical Guide. REST API for Mobile Outbound SMS

SMS-Bulk Gateway HTTP interface

Issue No. Date Description of Changes Initial issue Added basic authentication

SMS Outbound. HTTP interface - v1.1

PROFESSIONAL SMS APP CENTER USER MANUAL

HappyFox API Technical Reference

Extended sms2 API Documentation

HTTP API - HELP DOCUMENT

SMS Gateway. API & Application Technical Documentation. Revision 1. Current as at 10 th August Document ID: DOC-SMS-API-R1

Chapter 1 - Consuming REST Web Services in Angular

SMS+ Client User Manual

1. Sending SMS using any client 2. Outlook Mobile Service (OMS) integrated SMS sending via outlook 2007 and 2010

Yunpian API Documents

DocuSign Spring '16 Release Notes

SMS Outbound. SMTP interface - v1.1

NIC SMS SERVICE INTEGRATION

1. Overview Account Configuration Details... 3

Chapter 9: Internet

SmartFocus Cloud Service APIs

Cloud SMS API Guide. Version 5.1

Web Service API for. Document version 0.5 (2015-8) (Draft)

RouteMobile Mobile Client Manual for Android Version: 2.0

HTTP API Specification V2.7

Admin/User Manual SoftPal.com.ng

API Spec Sheet For Version 2.5

SMS Submit Interface description HTTP Version 1.5

Black Box DCX3000 / DCX1000 Using the API

ARTIO SMS Services HTTP API Documentation

Sendroid Ultimate. User Manual

PHPKB API Reference Guide

Content index. Request and Response Request types Errors Error codeṣ Response types DH Api Documentation

Bulk HTTP API Specification

text2reach2 SMS API Sep 5, 2013 v1.1 This document describes application interface (API) between SMS service provider (SP) and SMS gateway (SMSGW).

Mobile Login extension User Manual

Murphy s Magic Download API

ezeesms URL API Documentation

also supports JSON output format for specific commands.

Authentify SMS Gateway

Contents Overview... 3 Steps to run an Excel Add-In Setup:... 4 Add-Ins LOGIN SEND SMS Send Text or Flash Sms... 1

HTTP Specification Version 1.83

EMR web api documentation

ICE CLEAR EUROPE DMS GLOBAL ID CREATION USER GUIDE VERSION 1.0

Integrating with Cellsynt's SMS gateway via HTTP interface (technical documentation)

WEB API. Nuki Home Solutions GmbH. Münzgrabenstraße 92/ Graz Austria F

EcoprintQ Student User Guide

Revision: 50 Revision Date: :43 Author: Oliver Zabel. GTX Mobile Messaging SMS Gateway Interface Simple HTTP API Manual

Bambu API Documentation

PC-FAX.com Web Customer Center

Cisco Remote Expert Session Controller API Guide for Mobile Advisor Support

PonyExpress API V1. The PonyExpress API allows you to perform operations that you do with our web client.

PASSWORD RBL API GUIDE API VERSION 2.10 REVISION B

TalariaX sendquick Alert Plus

NIELSEN API PORTAL USER REGISTRATION GUIDE

cellip CELLIPS SMS INTERFACE DESCRIPTION HTTP GET INNEHÅLLSFÖRTECKNING

Integrating with ClearPass HTTP APIs

Recite CMS Web Services PHP Client Guide. Recite CMS Web Services Client

Report API v1.0 Splio Customer Platform

BULK HTTP API DOCUMENTATION

Shopitem API A technical guide to the REST API for managing updates of shopitems

Queens Library API Requirements Document For e-content Partners

Ciphermail Gateway PDF Encryption Setup Guide

Transcription:

EBULKSMS www.ebulksms.com (Customized Text Messaging System) API Specification Doc Version Date Author Description 1.0 01-August-2013 Dr Fox Initial draft 1.1 14-July-2017 Dr Fox Get API Key

Index SEND SMS JSON Request Response XML Request Response HTTP GET Request Response DELIVERY REPORTS JSON Request Response XML Request Response ACCOUNT BALANCE HTTP GET Request Response GET API KEY JSON Request Response * Note that in order to send SMS using the EbulkSMS API, you need to create an account first. 2 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

1. JSON Use the format below to send a POST request in JSON format. SEND SMS Request Method POST URL http://api.ebulksms.com:8080/sendsms.json { "SMS": { "auth": { "username": "your_username_is_your_email_address", "apikey": "your_api_key", "message": { "sender": "Sender Name", "messagetext": "Your message goes here", "flash": "0", "recipients": { "gsm": [ { "msidn": "23480...", "msgid": "uniqueid1...", { "msidn": "23480...", "msgid": "uniqueid2..." ], "dndsender": 1 3 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

Parameters Name username apikey Description Your login username on ebulksms (same as your email address) Generate your API key here. Your chosen sender name sender Alphanumeric sender name: Maximum of 11 characters Numeric sender name: Maximum of 14 characters The text message you wish to send messagetext flash recipients dndsender Single page message is 160 characters Maximum of 6 pages with 918 characters 0 - for normal SMS. 1 - for flash text (Only displays on the screen and will not be saved to the recipients phone) Recipient s mobile number in full international format For messages which require delivery reports be sure include your unique message id for each GSM phone number in the JSON data: {"gsm": {"msidn": "23480...", "msgid": "unique_message_id..." 1 enable delivery to MTN DND numbers at (2 units each by default) 0 to disable delivery to MTN DND numbers (1 unit) IMPORTANT!!! Be sure to include the application/json or text/json Content-Type header in your request. If you do not send this header your request might be misinterpreted. 4 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

Response The following responses will indicate if your message was received - success, or if there was an error in your request - failure. Importantly, you must be aware that errors that have to do with recipient numbers are permanent and such messages should not be resent. For errors relating to the message format and actual message you could modify the message and resend it. The same applies to the sender name. As much as possible avoid using special characters in the sender name. Format Response Format { "response": { "status": "STATUS_STRING", "totalsent": "<number of recipients>", "cost": "<units charged>" 5 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

Status Description Status INVALID_JSON MISSING_USERNAME MISSING_APIKEY AUTH_FAILURE MISSING_SENDER MISSING_MESSAGE MISSING_RECIPIENT INVALID_RECIPIENT INVALID_MESSAGE Response The JSON format is not valid. Username field is empty API Key field is empty The username and API key combination is not correct. Sender name is empty Empty message content No mobile phone number was found An invalid mobile phone number was found Message is either too long or contains characters that cannot be sent. INVALID_SENDER INSUFFICIENT_CREDIT UNKNOWN_CONTENTTYPE The sender name entered is not valid or is missing. Your account balance is too low to send the message. Check you post method to ensure you have included a content-type header of "application/json" or "text/json". UNKNOWN_ERROR SUCCESS Rarely used - Errors in data specification / headers. Your message was received successfully. 6 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

Sample Code <?php $json_url = "http://api.ebulksms.com:8080/sendsms.json"; $username = ''; $apikey = ''; if (isset($_post['button'])) { $username = $_POST['username']; $apikey = $_POST['apikey']; $sendername = substr($_post['sender_name'], 0, 11); $recipients = $_POST['telephone']; $message = $_POST['message']; $flash = 0; if (get_magic_quotes_gpc()) { $message = stripslashes($_post['message']); $message = substr($_post['message'], 0, 160); $result = usejson($json_url, $username, $apikey, $flash, $sendername, $message, $recipients); function usejson($url, $username, $apikey, $flash, $sendername, $messagetext, $recipients) { $gsm = array(); $country_code = '234'; $arr_recipient = explode(',', $recipients); foreach ($arr_recipient as $recipient) { $mobilenumber = trim($recipient); if (substr($mobilenumber, 0, 1) == '0'){ $mobilenumber = $country_code. substr($mobilenumber, 1); elseif (substr($mobilenumber, 0, 1) == '+'){ $mobilenumber = substr($mobilenumber, 1); $generated_id = uniqid('int_', false); $generated_id = substr($generated_id, 0, 30); $gsm['gsm'][] = array('msidn' => $mobilenumber, 'msgid' => $generated_id); $message = array( 'sender' => $sendername, 'messagetext' => $messagetext, 'flash' => "{$flash", ); $request = array('sms' => array( 'auth' => array( 'username' => $username, 'apikey' => $apikey ), 'message' => $message, 'recipients' => $gsm )); $json_data = json_encode($request); if ($json_data) { $response = dopostrequest($url, $json_data, array('content-type: application/json')); $result = json_decode($response); return $result->response->status; else { return false; 7 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

//Function to connect to SMS sending server using HTTP POST function dopostrequest($url, $data, $headers = array()) { $php_errormsg = ''; if (is_array($data)) { $data = http_build_query($data, '', '&'); $params = array('http' => array( 'method' => 'POST', 'content' => $data) ); if ($headers!== null) { $params['http']['header'] = $headers; $ctx = stream_context_create($params); $fp = fopen($url, 'rb', false, $ctx); if (!$fp) { return "Error: gateway is inaccessible"; //stream_set_timeout($fp, 0, 250); try { $response = stream_get_contents($fp); if ($response === false) { throw new Exception("Problem reading data from $url, $php_errormsg"); return $response; catch (Exception $e) { $response = $e->getmessage(); return $response; 8 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

2. XML Use the format below to send a POST request in XML format. Request Method POST URL http://api.ebulksms.com:8080/sendsms.xml <SMS> <auth> <username>your_username_is_your_email_address</username> <apikey>your_api_key</apikey> </auth> <message> <sender>sender_name</sender> <messagetext>your_message</messagetext> <flash>0</flash> </message> <recipients> <gsm><msidn>23480...</msidn><msgid>uniqueid1...</msgid></gsm> <gsm><msidn>... </recipients> </SMS> Parameters Name username apikey Description Your login username on ebulksms (same as your email address) Generate your API key here. Your chosen sender name sender Alphanumeric sender name: Maximum of 11 characters Numeric sender name: Maximum of 14 characters 9 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

The text message you wish to send messagetext flash recipients Single page message is 160 characters Maximum of 6 pages with 918 characters 0 - for normal SMS. 1 - for flash text (Only displays on the screen and will not be saved to the recipients phone) Recipient s mobile number in full international format msidn - the mobile phone number msgid - a unique id if you need to request delivery reports. For messages which require delivery reports please use this format: <gsm><msidn>23480...</msidn><msgid>unique_msg_id</msgid></gsm> You can repeat this for multiple recipients in a single request. IMPORTANT!!! Be sure to include the application/xml or text/xml Content-Type header in your request. If you do not send this header your request might be misinterpreted. 10 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

Response The following responses will indicate if your message was received - success, or if there was an error in your request - failure. Importantly, you must be aware that errors that have to do with recipient numbers are permanent and such messages should not be resent. For errors relating to the message format and actual message you could modify the message and resend it. The same applies to the sender name. As much as possible avoid using special characters in the sender name. Format Response Format <?xml version="1.0" encoding="utf-8"?> <response> <status>status_string</status> <totalsent>{number of valid recipients</totalsent> <cost>{number of units used</cost> </response> Status Description 11 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

Status INVALID_XML MISSING_USERNAME MISSING_APIKEY AUTH_FAILURE MISSING_SENDER MISSING_MESSAGE MISSING_RECIPIENT INVALID_MESSAGE Response The XML format is not valid. Username field is empty API Key field is empty The username and API key combination is not correct. Sender name is empty Empty message content No valid mobile phone number was found Message is either too long or contains characters that cannot be sent. INVALID_SENDER INSUFFICIENT_CREDIT UNKNOWN_CONTENTTYPE The sender name entered is not valid or is missing. Your account balance is too low to send the message. Check you post method to ensure there you added a content-type header of "application/xml" or "text/xml". UNKNOWN_ERROR SUCCESS Rarely used - Errors in data specification / headers. Your message was received successfully. 12 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

Sample Code <?php $xml_url = "http://api.ebulksms.com:8080/sendsms.xml"; $username = ''; $apikey = ''; if (isset($_post['button'])) { $username = $_POST['username']; $apikey = $_POST['apikey']; $sendername = substr($_post['sender_name'], 0, 11); $recipients = $_POST['telephone']; $message = $_POST['message']; $flash = 0; if (get_magic_quotes_gpc()) { $message = stripslashes($_post['message']); $message = substr($_post['message'], 0, 160); $result = usexml($xml_url, $username, $apikey, $flash, $sendername, $message, $recipients); function usexml($url, $username, $apikey, $flash, $sendername, $messagetext, $recipients) { $country_code = '234'; $arr_recipient = explode(',', $recipients); $count = count($arr_recipient); $msg_ids = array(); $recipients = ''; $xml = new SimpleXMLElement('<SMS></SMS>'); $auth = $xml->addchild('auth'); $auth->addchild('username', $username); $auth->addchild('apikey', $apikey); $msg = $xml->addchild('message'); $msg->addchild('sender', $sendername); $msg->addchild('messagetext', $messagetext); $msg->addchild('flash', $flash); $rcpt = $xml->addchild('recipients'); for ($i = 0; $i < $count; $i++) { $generated_id = uniqid('int_', false); $generated_id = substr($generated_id, 0, 30); $mobilenumber = trim($arr_recipient[$i]); if (substr($mobilenumber, 0, 1) == '0') { $mobilenumber = $country_code. substr($mobilenumber, 1); elseif (substr($mobilenumber, 0, 1) == '+') { $mobilenumber = substr($mobilenumber, 1); $gsm = $rcpt->addchild('gsm'); $gsm->addchild('msidn', $mobilenumber); $gsm->addchild('msgid', $generated_id); $xmlrequest = $xml->asxml(); if ($xmlrequest) { $result = dopostrequest($url, $xmlrequest, array('content-type: application/xml')); $xmlresponse = new SimpleXMLElement($result); return $xmlresponse->status; return false; 13 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

//Function to connect to SMS sending server using HTTP POST function dopostrequest($url, $data, $headers = array()) { $php_errormsg = ''; if (is_array($data)) { $data = http_build_query($data, '', '&'); $params = array('http' => array( 'method' => 'POST', 'content' => $data) ); if ($headers!== null) { $params['http']['header'] = $headers; $ctx = stream_context_create($params); $fp = fopen($url, 'rb', false, $ctx); if (!$fp) { return "Error: gateway is inaccessible"; //stream_set_timeout($fp, 0, 250); try { $response = stream_get_contents($fp); if ($response === false) { throw new Exception("Problem reading data from $url, $php_errormsg"); return $response; catch (Exception $e) { $response = $e->getmessage(); return $response; 14 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

3. HTTP GET With our HTTP GET API you only need to send a message using simple URL parameters. This is excellent if you want to integrate into mobile apps, games, and legacy applications. Request Method GET URL http://api.ebulksms.com:8080/sendsms http://api.ebulksms.com:8080/sendsms? username={your_email_address&apikey={your_api_key&sender={your_ sender_name&messagetext={your_message_here&flash=0&recipients=2 3480...,23470... You need to replace the parameters in the curly braces { with your own details. The easiest way to test this method is by copying pasting your generated URL in the address bar of your browser to see the response. 15 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

Parameters Name Username Apikey Description Your login username on ebulksms (same as your email address) You can generate your API key here. Your chosen sender name Sender Alphanumeric sender name: Maximum of 11 characters Numeric sender name: Maximum of 14 characters The text message you wish to send Messagetext Flash Recipients Single page message is 160 characters Maximum of 6 pages with 918 characters 0 - for normal SMS. 1 - for flash text (Only displays on the screen and will not be saved to the recipients phone) Recipient s mobile number in full international format You can send to multiple numbers in a single request by separating them with a comma (,) only. E.g. http://api.ebul.../sendsms?...recipients=234802...,234703...,234... 16 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

Response The following responses will indicate if your message was received - success, or if there was an error in your request - failure. Importantly, you must be aware that errors that have to do with recipient numbers are permanent and such messages should not be resent. For errors relating to the message format and actual message you could modify the message and resend it. The same applies to the sender name. Format Response Format //When there s an error you only get a status string. STATUS_STRING //for successful requests you will receive: STATUS_STRING totalsent:{total number of valid recipients cost:{number of units used 17 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

Status Description Status INVALID_XML MISSING_USERNAME MISSING_APIKEY AUTH_FAILURE MISSING_SENDER MISSING_MESSAGE MISSING_RECIPIENT INVALID_MESSAGE Response The XML format is not valid. Username field is empty API Key field is empty The username and API key combination is not correct. Sender name is empty Empty message content No valid mobile phone number was found Message is either too long or contains characters that cannot be sent. INVALID_SENDER INSUFFICIENT_CREDIT UNKNOWN_ERROR SUCCESS The sender name entered is not valid or is missing. Your account balance is too low to send the message. Rarely used - Errors in data specification / headers. Your message was received successfully. 18 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

19 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

DELIVERY REPORTS 1. JSON DLR Use the format below to make a GET request for delivery reports in JSON format. Request Method GET URL http://api.ebulksms.com:8080/getdlr.json? username={username&apikey={apikey &uniqueid={unique_id Parameters Name username apikey uniqueid (optional) Description Your login username on ebulksms (same as your email address) Your API key which you can generate here. You can specify a message id which you included earlier with each number in sending a message. This is useful if want to get the status for that specific message. * Important! Please ensure you save your delivery reports immediately you receive them. Once you have received a delivery report for a given set of numbers it will not be resent to you. The delivery reports are sent in groups of a maximum of 1,000 numbers for each request you make. 20 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

Response There are three possible results from this request authentication error, success with delivery report, or success but no delivery report found (if you specified a unique message id). In the event of an error, you will only receive an error status string in plain text. For example: AUTH_FAILURE Here is an example of a successful DLR response in JSON. { "dlr": [ { "mobilenumber": "<number>", "sendtime": "<date time>", "id": "<unique_message_id>", "status": "DELIVERY_STATUS_STRING", { "mobilenumber": "<number>", "sendtime": "<date time>", "id": "<unique_message_id>", "status": "DELIVERY_STATUS_STRING",... ] 21 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

2. XML DLR Use the format below to make a GET request for delivery reports in XML format. Request Method GET URL http://api.ebulksms.com:8080/getdlr.xml? username={username&apikey={apikey &uniqueid={unique_id Parameters Name username apikey uniqueid (optional) Description Your login username on ebulksms (same as your email address) Your API key which you can quickly generate here. You can specify a message id which you included earlier with each number in sending a message. This is useful if want to get the status for that specific message. * Important! Please ensure you save your delivery reports immediately you receive them. Once you have received a delivery report for a given set of numbers it will not be resent to you. The delivery reports are sent in groups of a maximum of 1,000 numbers for each request you make. 22 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

Response There are three possible results from this request authentication error, success with delivery report, or success but no delivery report found (if you specified a unique message id). In the event of an error, you will only receive an error status string in plain text. For example: AUTH_FAILURE Here is an example of a successful DLR response in XML. <?xml version="1.0" encoding="utf-8"?> <response> <dlr> <mobilenumber>{number</mobilenumber> <sendtime>{date time</sendtime> <id>{unique_message_id</id> <status>{delivery_status_string</status> </dlr> <dlr> <mobilenumber>{number</mobilenumber> <sendtime>{date time</sendtime> <id>{unique_message_id</id> <status>{delivery_status_string</status> </dlr>... </response> 23 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

24 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

ACCOUNT BALANCE 1. GET BALANCE You can check your account balance at any time by making a simple GET request to the API. Request Method GET URL http://api.ebulksms.com:8080/balance/{username/{apikey You need to replace the parameters in the curly braces { with your own details. The easiest way to test this method is by copying pasting your generated URL in the address bar of your browser to see the response. Parameters Name username apikey Description Your login username on ebulksms (same as your email address) You can generate your API key here. 25 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

Response A successful response would return your account balance as a number in plain text. The only errors you may encounter with this request is either from your username and API key. Format Response Format //If there s an error you only get a status string. STATUS_STRING //for successful requests you will receive the number of units in your account {account balance Format Status MISSING_USERNAME MISSING_APIKEY AUTH_FAILURE Response Username field is empty API Key field is empty The username and API key combination is not correct. 26 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

GET API KEY 1. GET API KEY You can make a request for your account API key at any time by making an HTTP POST request to the API. Request Method POST URL http://api.ebulksms.com:8080/getapikey.json You need to add the application/json header and send the following parameters in your POST request. Parameters Name username password Description Your login username on ebulksms (same as your email address) Your EbulkSMS password. Request Format { "auth": { "username": "your email address", "password": "your EbulkSMS account password 27 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.

Response A successful response would return a success response with your API. The only errors that you could run into with this request come from your username and API key. Format Response Format //If there s an error you will receive a JSON stng in the format below { "response": { "status": "AUTHORIZATION_ERROR" Format Status MISSING_USERNAME MISSING_PASSWORD AUTH_FAILURE AUTHORIZATION_ERROR Response Username field is empty Password field is empty The username and password combination is not correct. Access to this method for your account has been locked for 24 hours. 28 www.ebulksms.com Human-Aware Real-Time Solutions Ltd.