Connect Media Bulk SMS API Documentation

Similar documents
API USER GUIDE MARKETING MESSAGES & BROADCASTS

API Spec Sheet For Version 2.5

ARTIO SMS Services HTTP API Documentation

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

SMS GATEWAY API INTEGRATION GUIDE

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.

InstaMember USER S GUIDE

HTTP API-HELP DOCUMENT

SMS Aggregation - API Documentation

RouteMobile Mobile Client Manual for Android Version: 2.0

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

API Spec Sheet For HLR v1.4

Sending Documents to Tenstreet API Guide (rev 06/2017)

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

Automatic system alerts on Primo or, How to respond to a system outage in your sleep

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

API Technical Reference

Sending Data Updates to Tenstreet API Guide (rev 10/2017)

Backup Gateway Documentation

LIPNET OUTBOUND API FORMS DOCUMENTATION

SMS Web Portal. Client User Manual. Online SMS Portal globe.smsmarketing.sg

Integration REST Text2Speech Version 1.1

Brain Corporate Bulk SMS

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

Sending Job Requsition Data to Tenstreet API Guide (rev 09/2018)

XML API Developer-Documentation Version 2.01

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

Messaging Service REST API Specification V2.3.2 Last Modified: 07.October, 2016

HTTP API Specification V2.7

WebADM and OpenOTP are trademarks of RCDevs. All further trademarks are the property of their respective owners.

Sending SMS using Hapaweb s platform

Sending Application Data to Tenstreet API Guide

Excel-SMS Enotified. Excel-SMS Help Manual

How can I view my W2 on Vibe?

New Dashboard - Help Screens

Message parameter details

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

emag Marketplace API Implementation Best Practices v1.0

SJAM Penang Webmail User Manual

HTTP API. Table of Contents

BULK HTTP API DOCUMENTATION

HTTP API - HELP DOCUMENT

Sending SMS using PEPJOY INFOTECH platform

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

Click 2 Call. All rights reserved to Voicenter Revision

SortMyBooks API (Application programming

API DOCUMENTATION INDODAX.COM

Using Voodoo SMS within Zapier

External HTTPS Trigger AXIS Camera Station 5.06 and above

Remote API V1.1 Documentation

PROFESSIONAL SMS APP CENTER USER MANUAL

ONE SOCIAL. A Writing Project. Presented to. The Faculty of the Department of Computer Science. San José State University

API. If you already done integration with Btc-e.com previously, it will be very easy task to use our API.

Smart Bulk SMS & Voice SMS Marketing Script with 2-Way Messaging. Quick-Start Manual

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

MultiTexter.com Smart Messaging System. HTTP Application Programming Interface

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

Bulk HTTP API Specification

Bulk SMS API Integration Document Version 1.8

Recharge API Document

Mobile Client. User Manual. Version: 2.0.0

Errors Message Bad Authentication Data Code 215 User_timeline

SMS HTTP API DOCUMENTATION December 2012

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

Discussion #4 CSS VS XSLT. Multiple stylesheet types with cascading priorities. One stylesheet type

SMS+ Client User Manual

Quick Start. SLNG Basic API Instruction for Version 5.5 שרה אמנו 39/21 מודיעין I טל' I פקס

WebMatrix: Why PHP Developers Should Pay Attention

API Specification Doc

Reports Message History Message Summary Message Segment Summary Credit History. Profile Sign out Online Help

API LEADFOX TECHNOLOGY INC. By Sébastien Lamanna. Created on January 6, 2016

Miracle Service Accent

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

Public Imaging Walkthrough: Portal Login

WeChat Adobe Campaign Integration - User Guide

SMS Submit Interface description HTTP Version 1.5

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

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

Quick Guide to TraiTel Outbound IVR. Traitel Telecommunications Ltd 2012 Telephone: (61) (2) Page 1

SMS4BD Gateway Integration

User Manual RouteSms SmsPlus Desktop. Version 1.0

Network Online Services How to Register Guide

Pupilpod Mobile Application. User Guide

API Documentation. Release Version 1 Beta

WE POWER YOUR MOBILE WORLD FTP INTEGRATION MANUAL

Forthnet Mobile Platform - groupsms http interface v1.0 1 / 9

Protect My Ministry Integrated Background Checks for Church Community Builder

Account Customer Portal Manual

How To Integrate Camtasia Relay and Ensemble Video

Sendo.lv API documentation

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

HLR Lookup Service (Release 1.1.0)

BCBST Secure File Gateway Instructions (HTTPS)

<tr><td>last Name </td><td><input type="text" name="shippingaddress-last-name"

KUMail Storage Service User Manual

Mobile Login Extension User Manual

HTTPS API Specifications

SynwaySMS SMS Center. User Manual

MyClinic. Password Reset Guide

Reseller Web Site Instructions Manual

Transcription:

Connect Media Bulk SMS API Documentation All requests are submitted through the POST Method Base URL: http://www.connectmedia.co.ke/user-board/?api Information About Parameters: PARAMETERS username Your Login Username of ConnectMedia.co.ke (Required). password to sender Your Login Username of ConnectMedia.co.ke (Required). Recipient Mobile Number Include the Country Code onto the Mobile Number (Required). Sender ID for the message (Use ConectMedia, as default Sender ID) send For sending message action balance For Viewing user balance history For retrieving sent messages history message The Message For Recipient (Required).

Return Response and their Meanings: API returns the response in a JSON encoded Array with two indexes JSON Array[code]= Code of the return (as per below table) JSON Array[message]=Respective message against the code. RETURN VALUES 100 Invalid Login details 101 No enough balance to send message 103 No action defined 200 Shows the balance of the user 201 Message Sent Successfully! 202 Message History Retrieved Successfully

Examples of Successful Output Response: Sending message: {"code":"201"," Message Sent Successfully!"} Note: 201 is a response code for a Message Sent Successfully! Is the system alert Message Balance: {"code":"200","1"} Note: 200 is a response code and 1 is the balance of the desired account History: {"0":{"message_id":"1","message_text":"test message 1","message_date":"2016-06-11 06:00:27"},"1":{"message_id":"2","message_text":"test message 2","message_date":"2016-06-11 15:03:49"},"code":"202"} Note: 202 is response code and index 0 up to n shows array of the Message ID (system id for message), Text Message which was sent and the Date in which it was sent.

SAMPLE PHP Script: <?php $username = 'username'; //ConnectMedia Username $password = 'password'; //ConnectMedia Password $sender = 'ConectMedia';; //Sender ID of the message $action = 'xxxxxxxx';//required action(send -> sending message) (balance -> balance) (history -> sent history) $to = '254xxxxxxxx'; //Destination Number $message = "Test SMS from ConnectMedia.co.ke"; //Message Text $url = "http://www.connectmedia.co.ke/user-board/?api"; //Please don t change $post = [ 'action' => "$action", //Please don t change 'to' => "$to", //Please don t change 'username' => "$username", //Please don t change 'password' => "$password", //Please don t change 'sender' => "$sender", //Please don t change 'message' => urlencode("$message"),//please don t change ]; $ch = curl_init("$url"); //Please don t change curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $post); //Please don t change $response = curl_exec($ch); curl_close($ch); $jsonarray[]=array(); $jsonarray=json_decode($response, true); echo "Return code is: $jsonarray[code]"; //Response code of the API echo "Return message is: $jsonarray[message]"; //Response Message?>

Please Note, the Sender-ID is: ConectMedia and Not ConnectMedia - This is as the Unique Sender ID can Only be a Maximum of Eleven Characters. See below: Note: Replace username, password, xxxxxxx, Test SMS from Connectmedia.co.ke Text in just first few lines. Nothing else below it needs to be changed <?php $username = 'username'; //Your Username $password = 'password'; //Your Password $sender = 'ConectMedia';; //Sender ID of the message $action = 'xxxxxxxx';//required action(send -> sending message) (balance -> balance) (history -> sent history) $to = '254xxxxxxxx'; //Destination Number $message = "Test SMS from ConnectMedia.Co.Ke"; //Message Text $url = "http://www.connectmedia.co.ke/user-board/?api"; //Please don t change $post = ['action' => "$action", //Please don t change 'to' => "$to", //Please don t change 'username' => "$username", //Please don t change 'password' => "$password", //Please don t change 'sender' => "$sender", //Please don t change 'message' => urlencode("$message"),//please don t change ]; $ch = curl_init("$url"); //Please don t change curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $post); //Please don t change $response = curl_exec($ch); curl_close($ch); $jsonarray[]=array(); $jsonarray=json_decode($response, true); echo "Return code is: $jsonarray[code]"; //Response code of the API echo "Return message is: $jsonarray[message]"; //Response Message?>

ConnectMedia.Co.Ke API Documentation (Delivery Reports) All requests are submitted through the POST Method Base URL: http://www.connectmedia.co.ke/user-board/?api Information about Parameters: PARAMETERS username Your Login Username of ConnectMedia.Co.Uk (Required). password Your Login Username of ConnectMedia.Co.Uk (Required). action history For retrieving sent messages history Return Response and their Meanings: API returns the response in a JSON encoded Array with two indexes JSON Array[code]= Code of the return (as per below table) JSON Array[message]= Respective message against the code.

100 Invalid Login details 103 No action defined RETURN VALUES Examples of Successful Output Response: History: {"0":{"message_id":"1","message_text":"test message 1","message_date":"2016-06-11 06:00:27","message_status":"Delivered","message_error":"OK"},"1":{"m essage_id":"2","message_text":"test message 2","message_date":"2016-06-11 15:03:49","message_status":"Delivered","message_error":"OK"},"code": "202"} Note: 202 is response code Return array index 0 up to n shows array of the message id (system id for message), Text Message which was sent, Date when it was sent, Delivery status of the message and an Error if message wasn t delivered

ConnectMedia.Co.Ke Sample Code for 2-WAY SMS (INBOX) <?php error_reporting(0); $username = "xxxxxxx"; $password = "xxxxxxx"; $action = 'inbox';//required action(send -> sending message) (balance -> balance) (history -> sent history) (inbox -> sms receiving) $url = "http://www.connectmedia.co.ke/user-board/?api_v2"; //Please don t change $post = [ 'action' => "$action", //Please don t change 'username' => "$username", //Please don t change 'password' => "$password", //Please don t change ]; $ch = curl_init("$url"); //Please don t change curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $post); //Please don t change $response = curl_exec($ch);

curl_close($ch); $jsonarray[]=array(); $jsonarray=json_decode($response, true); $count = count($jsonarray); $code="$jsonarray[code]"; //Response code of the API if($code=='302') foreach($jsonarray as $value) { if (--$count <= 0) break; echo "Message Text:"; echo $value['message_text']; //Text of the message which was sent echo "- Message Date:"; echo $value['message_datetime']; //Date when message sent echo "- Message From:"; echo $value['message_from']; //Phone Number of whom sent the message echo "<br>"; } if($code=='301') echo "Error in Fetching Data";?>