• Air Canada
  • Microsoft
  • Panasonic
  • Viber

How to Set up using the REST API

There are many ways to make API calls to our SMS REST API. Here are some popular methods:

Use a free HTTP request GUI, such as “Fiddler” – http://www.telerik.com/download/fiddler

Use a web browser extension like “Postman” –https://www.getpostman.com

Use a command line, such as “cURL” – http://curl.haxx.se/

Send a message

Now you’re ready to submit a message to the “batches” endpoint:

HTTP method – Set the HTTP method to “POST

Host and endpoint – Set the host and endpoint, with your service username in place of {service_username}:


Header – In the header, enter your authentication token and set the content type to JSON:

Authorization: Bearer {authentication_token}
Content-Type: application/json

Body – Enter the following JSON body, where {your_phone_number} is the recipient phone number, including the country code:

{“from”: “CLX”,
“to”: [“{your phone number}”],
“body”: “Hi this is my first message using CLX’s SMS REST API” }

Submit the request.

All you need to get started is your service username and API token, which you can achieve in just a few clicks. Simply log into the CLX Customer Portal and click on ‘Services’. From here, add the ‘HTTP REST API’ to your Active Services. Then, click on ‘Manage’, which will take you to a new page, where you will see your service username and API token.

Don’t have an account with us? Click on the button below to get started today!

Not Ready Yet?

Back to Getting Started: