API Documentation

Bulk SMS / Intro

Bulk SMS

API Integration:

Please use the Simple API unless you will give end users a way to opt-out and you want us to block SMS messages going to anyone who has opted out, then use the Batch/XML API.

Code Libraries - GitHub

Mobivate also provides sample libraries (PHP, C# & Java). For more information please check out GitHub

Simple API example:

GET: https://app.mobivatebulksms.com/gateway/api/simple/MT?USER_NAME=USERNAME&PASSWORD=PASSWORD&ORIGINATOR=ABC&RECIPIENT=447123123123&ROUTE=mglobal&MESSAGE_TEXT=hello

For more information, click here

Batch API example:



You should post a single parameter called xml= and the content of it should look like this.

    <body><![CDATA[default message]]></body>

If your project is coded in PHP, we suggest that you use our Mobivate.php repository

git clone https://github.com/mobivate/mobivate.php.git mobivate

and then simply

<?php require_once("mobivate/BulkSMS.php");

# Create client instance
$bulksms = new Blender\Client\BulkSMS();

# Login to gateway
$bulksms->login($USERNAME, $PASSWORD);

# Create batch
$batch = new Blender\Client\BatchMessageSingleBody();

# Set originator

# Set route id

# Set message body (for all recipients)
$batch->setBody("Batch unicode message with 漢語");

## Recipients ##

# Send message
$responseXml = $bulksms->sendBatch($batch);

Extended Documentation

For the full documentation please download the PDF version

← Previous Page - Next Page →