Advanced HTTP API Documentation



Similar documents
MyMobileAPI. mymobileapi.com

This document is to provide help and illustrations to users who wish to deliver SMS using the Pinnacle SMS Gateway via the HTTP Protocol.

Messaging API. API Specification Document Messaging API. Functionality: Send SMS Messages.

Technical Specification Normal SMS gateway

HTTP/SOAP Application Program Interface (API) Version 1.0

Helix Practice Manager

Remote. Web Client Overview Version 8.0

Technical documentation

Avaya one-x Mobile User Guide for iphone

SME- Mail to SMS & MMS Gateway with NowSMS Quick Start Guide

1. Introduction What is Axis Camera Station? What is Viewer for Axis Camera Station? AXIS Camera Station Service Control 5

TWO WAYS TO SCHEDULE A SCOPIA VIDEO CONFERENCE BASED MEETING. 1- SCOPIA USER PORTAL 2- OUTLOOK SCOPIA MEETING PLUG-IN

AT&T Business Messaging Account Management

TriCore Secure Web Gateway User Guide 1

Excel To Component Interface Utility

ShoutCast v2 - Broadcasting with SAM Broadcaster

Phone & User Assignment. Feature Overview. Feature Prerequisites. Feature Setup

Split Payment Processing

How To Access A Secure From The State Of Iceland

BRI to PRI Connection Using Data Over Voice

Ciphermail Gateway PDF Encryption Setup Guide

To download and install directly to your phone

Configuring Reports and Alarm Information

Salesforce Integration

WHMCS LUXCLOUD MODULE

Process: Self Service

ClicktoFax Service Usage Manual

IRMACS Setup. Your IRMACS is available internally by the IMAP protocol. The server settings used are:

Bitcoin Payment Gateway API

Masergy Fax Solutions Virtual Fax and Fax Line User Guide

Vodafone Bulk Text. User Guide. Copyright Notice. Copyright Phonovation Ltd

Remote access set up for a home PC

Configuring Single Sign-on for WebVPN

State of Michigan Data Exchange Gateway. Web-Interface Users Guide

Safeguard Ecommerce Integration / API

Merchant Warehouse Credit Card Integration Gym Assistant August 2009

DDNS Management System User Manual V1.0

Migration Manual (For Outlook Express 6)

SonicWALL Security Quick Start Guide. Version 4.6

Managing Users and Identity Stores

Merchant Returns Service International

Previewing & Publishing

Accessing the FTP Server - User Manual

Outlander User Guide. Installation

Easy Message Lite. User Guide V2.0

1 Thunderbird v3 and IMAP/SMTP Configuration

Steps for Basic Configuration

How to configure the TopCloudXL WHMCS plugin (version 2+) Update: Version: 2.2

CentovaCast 3 - Broadcasting With VirtualDJ

Quick Start Guide Sendio Hosted

Getting Started with the Sitecore App Center

Frequently Asked Questions for New Electric Mail Administrators 1 Domain Setup/Administration

Software Version 1.0 ConnectKey TM Share to Cloud April Xerox ConnectKey Share to Cloud User / Administrator s Guide

Web Meetings through VPN. Note: Conductor means person leading the meeting. Table of Contents. Instant Web Meetings with VPN (Conductor)...

All Colleagues Landing Page

Astaro User Portal: Getting Software and Certificates Astaro IPsec Client: Configuring the Client...14

Notification messages

Secure File and Delivery Application (SFED)

Using Voltage Secur

SMS Marketing with Shortcuts

D-Link DAP-1360 Repeater Mode Configuration

To download and install directly to your phone

Web Service Integration

Technical Specification Premium SMS gateway

Instructions for the Integrated Travel Manager (ITM) Self Service Password Reset (May 2011)

IBM Aspera Add-in for Microsoft Outlook 1.3.2

Remote Authentication and Single Sign-on Support in Tk20

Hosted Exchange Setup Instructions

PrestoFax User Guide Version 3.0

OBiTALK Portal Device Management

USING MYWEBSQL FIGURE 1: FIRST AUTHENTICATION LAYER (ENTER YOUR REGULAR SIMMONS USERNAME AND PASSWORD)

How to install and use the File Sharing Outlook Plugin

NCH Secure Web Delivery Instructions

Using Avaya Aura Messaging

SMS for REST Professional

MIDAS Authorization User Guide. Provider Portal

USER DOCUMENTATION FOR APP VERSION 4.0

Managing Qualys Scanners

Customer Tips. Basic Configuration and Troubleshooting. for the user. Overview. Basic Configuration. Xerox Multifunction Devices.

Setting Up a Dreamweaver Site Definition for OIT s Web Hosting Server

Installation Guide For Choic Enterprise Edition

Protection for your account

Remote Support Jump Client Guide: Unattended Access to Systems in Any Network 3. Deploy Jump Clients During a Support Session or Prior to Support 4

s sent to the FaxFinder fax server must meet the following criteria to be processed for sending as a fax:

Introduction. POP and IMAP Servers. MAC1028 June 2007

Enroll in MyCardStatement.com Client User Guide

Fairfield University Using Xythos for File Sharing

NETWORK ADMINISTRATION

Chapter 2 LOGGING INTO LIMS

Frequently Asked Questions: Cisco Jabber 9.x for Android

Phaser 3635MFP Software Upgrade Process

Application Security Testing. Generic Test Strategy

Real-Time Connectivity Specifications For. 270/271 and 276/277 Inquiry Transactions. United Concordia Dental (UCD)

API Guide v /11/2013

Hubcase for Microsoft Dynamics CRM Installation and Configuration Guide

API documentation - 1 -

Marcum LLP MFT Guide

Sending SMS Text Messages to Cell Phones Using the Generator Plug-in

Customization & Enhancement Guide. Table of Contents. Index Page. Using This Document

Transcription:

Advanced HTTP API Documentation Page 1 of 8

Introduction The SMS Broadcast Advanced HTTP API can be used to integrate SMS messaging into your own systems. This API allows for tracking of SMS messages and includes functions for receiving inbound message replies. SMS Broadcast also offers a simple HTTP API. Details of this can be found in the Documentation section of the SMS Broadcast Client Portal. The document gives technical details on how to use the Advanced HTTP API. 1. Sending Data to the HTTP API To use the API, you system needs to send a GET or POST request to our API URL. The URL for the Advanced HTTP API is: https://api.smsbroadcast.com.au/api-adv.php or http://api.smsbroadcast.com.au/api-adv.php For security reasons, we recommend using the HTTPS protocol and POST your data to the API. Page 2 of 8

2. Sending SMS Messages The send messages function can be used to send a single message or multiple messages in a single API request. Input s: username password to from message ref maxsplit delay Your SMS Broadcast username. This is the same username that you would use to login to the SMS Broadcast website. Your SMS Broadcast password. This is the same password that you would use to login to the SMS Broadcast website. The receiving mobile number(s). The numbers can be in the format: 04xxxxxxxx (Australian format) 614xxxxxxxx (International format without a preceding +) 4xxxxxxxx (missing leading 0) We recommend using the international format, but your messages will be accepted in any of the above formats. To send the same message to multiple recipients, the numbers should be separated by a comma. The numbers should contain only numbers, with no spaces or other characters. The sender ID for the messages. Can be a mobile number or letters, up to 11 characters and should not contain punctuation or spaces. Leave blank to use SMS Broadcast s 2-way number. The content of the SMS message. Must not be longer than 160 characters unless the maxsplit parameter is used. Must be URL encoded. Your reference number for the message to help you track the message status. This parameter is optional and can be up to 20 characters. Determines the maximum length of your SMS message (see details below) Number of minutes to delay the message. Use this to schedule messages for later delivery. Example API Request: https://api.smsbroadcast.com.au/apiadv.php?username=myuser&password=mypass&to=0400111222,0400222333&from=mycompany& message=hello%20world&ref=112233&maxsplit=5&delay=15 The above request would send the message Hello World to 0400111222 and 0400222333 from MyCompany. Page 3 of 8

Output s: Status Will show if your messages have been accepted by the API. There are 3 possible results: OK : This message was accepted. BAD: This message was invalid. (eg, invalid phone number) ERROR: The request failed. (eg, wrong username/password or missing a required parameter) Receiving Number The receiving mobile number. This will be shown in international format (614xxxxxxxx) regardless of the format it was submitted in. If you submit an invalid mobile number, the invalid number will be shown in the same format as it was submitted. SMS Reference Number Will display our reference number for the SMS message, or the reason for or Error Message a failed SMS message. The API will return 1 line of data for each SMS message you submit. The data is separated by the colon character. Sample API Output: The output from the previous example would be: OK: 61400111222:2942263 OK: 61400222333:2942264 If you submit an invalid mobile number, the API would return: BAD:0400abc111:Invalid Number If you send multiple messages in the same request, the valid numbers will still be accepted by the API. If you submit a request with a critical error (such as an incorrect username, password or missing a required parameter) the API will return only 1 line. ERROR: Username or password is incorrect. Long SMS Messages (maxsplit) Standard SMS messages are limited to 160 characters, however our system allows you to send SMS messages up to 765 characters. This is achieved by splitting the message into parts. Each part is a normal SMS and is charged at the normal price. The SMS is then reconstructed by the receiving mobile phone and should display as a single SMS. Page 4 of 8

The maxsplit setting determines how many times you are willing to split the message. This allows you to control the maximum cost and length of each message. The default setting is 1 (160 characters). The maximum is 5 (765 characters). If your SMS is 160 characters or less, it will be sent (and cost) as a single SMS, regardless of the value of this setting. If your message is longer than 160 characters, it is split into parts of up to 153 characters (not 160). Page 5 of 8

3. Message Status Updates Status updates allow you to keep track of the delivery of the messages you send. A confirmation will be sent to you to show if the message was successfully delivered or failed. This option must be activated by SMS Broadcast. If you require this function, please contact us and provide us with the URL on your server to send the data. The SMS Broadcast API will send a GET request to your URL (as provided when setup) with the below parameters. Request s: to ref smsref status The mobile number the message was sent to, in international format (614xxxxxxxx). Your reference number, if provided when you sent the message. The SMS Broadcast reference number as returned by the API when the message was sent. The current status of the message. Possible statuses are: Delivered The message was successfully delivered Expired The message could not be delivered within the required time Failed There was a problem with the message (eg, incorrect mobile number, or mobile service disconnected) Example Request: http://www.yourserver.com/status.php?to=61400111222&ref=112233&smsref=1122334455&statu s=delivered Each status request will contain the status of a single message, even if multiple messages were sent to the API in the same request. The status information is provided by the mobile networks and may not be 100% reliable. Page 6 of 8

4. Inbound SMS Messages Our API will send a request to your URL with the inbound SMS data for each message. This option must be activated by SMS Broadcast. If you require this function, please contact us and provide us with the URL on your server to send the data. SMS Broadcast will send an HTTP GET request to the URL you provided when this service was activated. Request s: to from message ref The phone number the SMS was sent to. If you have multiple inbound numbers, you can use this to know which number the message was sent to. Will be shown in international format (614xxxxxxxx). The mobile number that sent the message, in international format (614xxxxxxxx). The content of the SMS message. Your reference number from the original outbound SMS, if provided. Example Request: http://www.yourserver.com/inbound.php?to=61400111222&from=61400111999&message=hello% 20World&ref=abc123 Page 7 of 8

5. Account Balance The account balance function can be used to lookup the number of credits left in your account. Input s: action username password This must be set to balance for this function. Your SMS Broadcast username. This is the same username that you would use to login to the SMS Broadcast website. Your SMS Broadcast password. This is the same password that you would use to login to the SMS Broadcast website. Example Balance Request: https://api.smsbroadcast.com.au/apiadv.php?action=balance&username=myuser&password=mypass Output s: Status Balance or Error Will show the status of your request. The possible statuses are: OK: This request was accepted. ERROR: There is a problem with the request. Will show your account balance or a reason for the error. Sample API Output: The output of a valid request will similar to: OK: 5000 The output of an invalid request will be similar to: ERROR: Username or password is incorrect Page 8 of 8