Sinch and Wavy Join Forces to Accelerate Innovation and Drive Growth in Latin America - Read more today! Read more

Engage your customers like never before - on any channel

CPaaS and APIs for SMS, Voice, Video & Verification

  • Self-serve
  • Easy integration
  • Quick & easy testing

Developer documentation

Get started in no time with our easy integration

import com.clxcommunications.xms.api.*;
import com.clxcommunications.xms.*;

public class Example {
			public static void sendSms() {
					try (ApiConnection conn = ApiConnection.builder()
					.servicePlanId("{spid}").token("{token}").start()) {
							MtBatchTextSmsResult batch = conn.createBatch(
							.body("Hello, world!")

							System.out.println("Successfully sent batch " +;
					} catch (Exception e) {
							System.out.println("Batch send failed: " + e.getMessage());
import clx.xms
import requests

client = clx.xms.Client(service_plan_id='{spid}', token='{token}')

create = clx.xms.api.MtBatchTextSmsCreate()
create.sender = '12345'
create.recipients = {'46123123123'}
create.body = 'Hello, world!'

batch = client.create_batch(create)
except (requests.exceptions.RequestException,
clx.xms.exceptions.ApiException) as ex:
print('Failed to communicate with XMS: %s' % str(ex))
$client = new Clx\Xms\Client('{spid}', '{token}');

$batchParams = new \Clx\Xms\Api\MtBatchTextSmsCreate();
$batchParams->setBody('Hello, World!');

try {
		$result = $client->createTextBatch($batchParams);
		echo('Successfully sent batch ' . $result->getBatchId());
} catch (\Clx\Xms\ApiException $ex) {
		echo('Failed to communicate with XMS: ' . $ex->getMessage() . "\n");

Tried and trusted by developers around the world. Build with confidence and boost your business - with just a few lines of code.

  • Support with intuitive tutorials
  • Library with API documentation
  • Adaptable to popular code languages

Discover our products

Get closer to your customers and add value to every step of their journey

Graphic of two speech bubbles


Engage with all mobile phones globally via a single connection. Sinch’s comprehensive API and super network of direct operators makes it quick, easy, and secure!

Explore SMS


Talk to your customers on their own home turf, build trust, and enrich the customer journey – all with one easy API.

Explore WhatsApp
Graphic of a checkmark in a box


Fight fraud and secure your user data with friction-free verification. Sinch makes the experience seamless, with flexible integration options for SMS, Voice & Flash Calling.

Explore Verification