API Spec Sheet For Version 2.5

Similar documents
API Spec Sheet For HLR v1.4

Connect Media Bulk SMS API Documentation

API USER GUIDE MARKETING MESSAGES & BROADCASTS

Integration REST Text2Speech Version 1.1

ARTIO SMS Services HTTP API Documentation

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. Table of Contents

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

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

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

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

New Dashboard - Help Screens

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

API Documentation. Release Version 1 Beta

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

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

HTTP API-HELP DOCUMENT

Backup Gateway Documentation

XML API Developer-Documentation Version 2.01

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

Information Guide: Receiving SMS

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

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

SMS Submit Interface description HTTP Version 1.5

Sending Application Data to Tenstreet API Guide

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

MyMobileAPI. mymobileapi.com. Windows Service Usage

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

SMS HTTP API DOCUMENTATION December 2012

API Integration Guide

CommzGate Cloud SMS User Guide

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

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

SMS Relay. API Documentation SPLIO - SPRING Contact and Campaign SMS Relay API - EN v1.2.docx

Brain Corporate Bulk SMS

Ciphermail Gateway PDF Encryption Setup Guide

API DOCUMENTATION INDODAX.COM

Inventory Requests. EMEA Organisers User Guide

SortMyBooks API (Application programming

SMS Aggregation - API Documentation

BulkSMS Marketo Gateway

Bulk HTTP API Specification

Sendroid Ultimate. User Manual

SMS4BD Gateway Integration

HLR Lookup Service (Release 1.1.0)

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

API Technical Reference

USER GUIDELINES. Q 2. Is it necessary to configure password retrieval question and answer? How can I do that? Q 3. How can I change password?

HTTP Specification Version 1.83

SOAP API. The correct URL has been hidden. Please contact your account manager for the full URL information.

PANACEA PLATFORM. A unified communications platform for SMS, USSD and Push Notifications.

Prerequisites. Setup Processes. Text to Give Webpage Setup. SMS Source Setup

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

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

LIPNET OUTBOUND API FORMS DOCUMENTATION

Gatesms.eu Mobile Solutions for Business

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

SONERA OPERATOR SERVICE PLATFORM OPAALI PORTAL SMS. FREQUENTLY ASKED QUESTIONS, version 2.0

O Reilly Ebooks Your bookshelf on your devices!

HTTP API Specification V2.7

WhatsATool API - REST-Like Interface to WhatsATool Services

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

Quenbec inc # henri bourassa H3L-3N3 Montreal, QC,Canada Toll free: Mobile

HTTPS API Specifications

Recharge API Document

Administrator Manual. Last Updated: 15 March 2012 Manual Version:

Miracle Service Accent

Using Voodoo SMS within Zapier

Welcome to CSB on Command Frequently Asked Questions

mvaayoo API Ver 1.2.0

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

Front Gateway Product Description for the connection between the SMS gateway and customer

Release Note for TG800

emag Marketplace API Implementation Best Practices v1.0

Table of Contents 1 AQL SMS Gateway How to Guide...1

Cloud SMS API Guide. Version 5.1

Administrator Manual. Last Updated: 15 March 2012 Manual Version:

Welcome to First Security Mobile

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

Errors Message Bad Authentication Data Code 215 User_timeline

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

HTTP API - HELP DOCUMENT

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

SMS Mobile Termination (MT) API Guide for HTTPS

Bulk SMS Portal & 2-Way Messaging Script USER GUIDE V P age

BULK HTTP API DOCUMENTATION

API Integration Document

SMS Express SMS From Excel Add-In

Release Note for TG200/400

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

Inbound SMS User Guide 2016 Cosmic SMS

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

IBM emessage Version 9 Release 1 February 13, User's Guide

Click 2 Call. All rights reserved to Voicenter Revision

PureEngage Cloud Release Note. Outbound

CLIENT DASHBOARD. With Cloud Communication Solution (C.C.S).

US: UK: +44 (0) AU: 1 (800) SG:

Messages tour Welcome to Medic Mobile s Guided Tour. Reports tour. Analytics tour. Begin the tour

Transcription:

INTRODUCTION The Wholesale SMS API is ideally suited for sending individual sms messages and/or automated responses through our premium routes. To send bulk messages through the API you can set your server to loop through a set of formatted data either through a file or from a database. As well as being ideal for bulk message sending this easy to use and integrate API service can be used for marketing purposes or to generate automated responses to web applications, for follow up messages, reminder messages, alerts and many more applications. SENDING MESSAGES via THE API - SUMMARY To be able to send through our API you will need your unique 40 character API key which can be found in your account details area of your admin panel. You will need to pass this as well as other credentials including your account number through to the processing server. As well as your access credentials you will need to post other required data (details below). If the credentials and data passed to the processing server are valid your message will be processed. The server will respond with an appropriate response eg <success>, <failed>, <error> which you can set your scripting to handle appropriately if required. You can view full information on each individual message processed including delivery status etc by logging in to your Wholesale SMS platform account and navigating to the reporting area. RECEIVING INCOMING MESSAGES - SUMMARY To receive incoming messages/replies you need to activate one or more keywords on one of our shortcode numbers or rent a shared or exclusive dedicated long code number from us. With a short/long code number keywords are subject to availability - dedicated numbers have no restriction on the keywords and you will receive ALL messages sent to the number(s). API LIMITATIONS The sending API will only send a message if: Your access credentials are valid. The posted data it receives is valid. You have message credits available. Your API account is active.

SENDING These are the details you need to be able to send messages through the Wholesale SMS API. FIELD REQUIRED DETAILS & VALID OPTIONS key Your 40 character API key (this can be found in your account area). account Your user account number (this can be found in your account area). number message The recipient mobile phone number. UK numbers must begin 7, 07 or 447 international numbers must begin with + along with the country code eg +33 Your message should be no more than 160 characters per part (up to 6 parts allowed) and should be utf8 encoded. Please lookup the GSM 03.38 character set for more details. mess_ref A reference for the message of up to 12 alpha numeric and - characters. sender Set this to whatever you like 3-11 alpha numeric characters long OR up to 14 chars long if set to any international phone number eg 447123456789. balance NO Set to 1 if you want the API to append your credit balance to the return data. PLEASE NOTE: Field names and valid options ARE case sensitive - please ensure the data you send takes this into account. There are 2 URLs you can post your data string to: Post to this URL for testing: https://wsms.uk/api/v2.5.check Post to this URL when done testing: https://wsms.uk/api/v2.5 HINT: If sending over SSL and using curl then add this to your code: curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); We recommend posting via PHP curl but any stable/secure HTTP posting method can be used. Your account will need to be activated before you can use the LIVE service. Please post a minimum of 3 successful tests before requesting live access.

SERVER RESPONSES For each query sent to the processing server an appropriate message will be returned. These are the possible responses: RESPONSE invalid credentials missing no credits success suppressed failed error DESCRIPTION/MEANING Either your account number and/or API key are wrong or your API access is not active. "missing" followed by whatever field is either missing or invalid. The message could not be sent as you have no credits available. The message was processed successfully. The message could not be sent as the number was found in the suppression list. This function is switched off by default. "failed" followed by the reason for the send failure. Message could not be sent for another reason eg the number is no longer active. An unknown error occurred. Full details for each message sent can be found in the reporting area of your Wholesale SMS account. Please note: A message that has failed prior to a send attempt eg because it contains invalid parameters, may not show up in your reporting portal. The following page contains an example snippet of PHP code for sending the field data via curl post.

EXAMPLE curl POST <?php //curl submit line $fields = "number=07123456789&account=12345&key=zp9kosajjj61pgsypn6u47dablqw9dbwtlhheian &mess_ref=api test&sender=testing&message=hello just testing"; // post fields to API $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"https://wsms.uk/API/v2.5"); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS,"$fields"); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $returnvalue = curl_exec($ch); // display the result echo $returnvalue; exit();?> The response from the API server is captured by the $returnvalue variable which you can adapt your processing scripts at your end to handle accordingly if required. You can opt to have multi faceted return values eg if you include the "balance" field and set it to "1" ie "on" then the API will append your sms credit balance to the return value. Appended values such as "balance" or "subs" etc are sent back in the return value variable along with the other server responses listed on page 3 and are separated with the pipe character to make it easier for you to extract the separate field values if required. For example you could receive this response for a successful send with the "balance option switched on ie "1": success balance = 999 The following page deals with incoming messages and replies.

RECEIVING INCOMING MESSAGES If you want to receive replies or incoming sms messages please read the incoming message summary on page 1 first. Once you have decided on your incoming message options ie reserved keywords and shared or dedicated short or long code numbers etc then by default you can see the responses in your "incoming messages" reports in your online admin portal. However you can also set our API to send the incoming message details to your own API, website or applications. To do this you will need to set a return path URL. This is done in your account details area of your admin portal. The return path URL is basically a website URL you want our API to "POST" or "GET" the incoming message details to eg: http://www.yourwebsite.com/incoming_sms.php Our API will send the following fields to the URL you set: to, from, message "to" is the phone number the message was sent to "from" is the phone number the message originated from "message" is the message that was sent. Here is a sample php snippet which you could have on the web page you set in your return path URL for handling the sent fields: <?php $to = $_POST['to']; $from = $_POST['from']; $message = $_POST['message']; echo "Message received: ". $message. " Sent from: ". $from. " Sent to: ". $to ;?> There are many ways of handling the incoming data including inserting it into a database, forwarding it in an email or a variety of other options - we won't go into details here - but if you require assistance we do have a few examples available for you to see. Further information can be obtained by emailing: support@wholesalesms.co.uk API Spec Sheet For Version 2.5 SMS Sending Platform August 2017