MENA | Developer Hub Build
Contact

SMS enable your business software today

Simple, secure &

Software Development Kits

SDK Client Libraries for SMS

Our most popular client libraries for integrating SMS: PHP, .Net and Node applications supported.

PHP SDK example
<?php
require_once __DIR__ . '/vendor/autoload.php';

// Get your REST API keys from MXT
\SMSGlobal\Credentials::set('YOUR_API_KEY', 'YOUR_SECRET_KEY');

$sms = new \SMSGlobal\Resource\Sms();

$response = $sms->sendToOne('DESTINATION_NUMBER', 'This is a test message.');
print_r($response['messages']);
View on GitHub
.NET SDK example
using SMSGlobal.api;

var client = new Client(new Credentials("SMSGLOBAL-API-KEY", "SMSGLOBAL-SECRET-KEY"));

var response = await client.SMS.SMSSend(new
{
    origin = "Test",
    destination = "DESTINATION-NUMBER",
    message = "This is a test message"
});
View on GitHub
Node SDK example
const smsglobal = require('smsglobal')('YOUR_API_KEY', 'YOUR_API_SECRET');

const payload = {
    origin: 'from number',
    destination: 'destination',
    message: 'This is a test message'
};

smsglobal.sms.send(payload, function (error, response) {
    console.log(response);
});
View on GitHub

Integrate SMS into your business today

Sign up now to start your free trial. No contracts, no setup fees.

Get Free API Key
Schedule A Demo

Live demonstations of our MXT platform are conducted over Google Meets by our friendly tech support team and generally take 15mins.