11 November 2016

REST API: Request parameters

11 November 2016
clock
2 minutes

SMS messages are sent by making HTTP or HTTPS calls to the API. You can loop through your list of mobile numbers and make HTTPS requests to send SMS messages to them.

The REST API supports the following SMS features:

content

Content of the message

to

Number to deliver the message to (number must start with ‘+’)

from

The two-way number that will be used for message delivery

binary

Message body (content) delivered by client needs to be in binary format

clientMessageId

Value received from client system

scheduledDeliveryTime

Schedule your message to be delivered at a specified time in format: yyyy-MM-ddTHH:mm:ss+0200 (with +0200 representing the time zone). Example: “scheduledDeliveryTime”:”2017-02-27T14:30:00+0200″

userDataHeader

UDH (user data header) content of a message

validityPeriod

Our system will attempt to resubmit unsuccessful messages for the duration of the validity period. The request will be cancelled if it has not been successfully processed once the validity period is exceeded. The default period is 1440 minutes (1 day).

charset

ASCII, UCS2-BE, UTF-8, Windows-1252. If you do not specify the charset, it will be treated as UTF-8 by default.

Featured Insight Circle post

Seeing the world through the eyes of your user – Part I

Related blogs posts

Seeing the world through the eyes of your user – Part I
A View of the Future with Dr. Damian Tan
Sterling Bank Enhances Digital Banking with Clickatell

About Clickatell

Todays’ consumers spend more time on chat like text, Instagram, Facebook Messenger, and WhatsApp than apps, and they expect a high degree of convenience in the way brands serve them. Clickatell makes it possible for brands and consumers to engage and transact via mobile chat and digital channels with industry-leading communications commerce platforms and solutions. With offices in San Francisco, Toronto, Cape Town, and Lagos, Clickatell serves more than 15,000 global brands, ranging from Fortune 500 organizations to well-known consumer brands and small businesses in over 220 countries worldwide.

Read more about Clickatell

Related blogs posts

Seeing the world through the eyes of your user – Part I
A View of the Future with Dr. Damian Tan
Sterling Bank Enhances Digital Banking with Clickatell

This website uses cookies to allow us to see how the site is used. The cookies cannot identify you. If you continue to use this site we will assume that you are happy with this. If you want to use the site without cookies or would like to know more, you can do that here.