A simple HTTP API for integrating CCS SMS into your platform. Sign in, whitelist your server, send messages — in minutes.
Get started
01
Sign in to the CCS Platform. No account yet? Get in touch and we'll set you up.
02
Find your external server IP address and share it with us for whitelisting. On a cloud platform, ask your provider's support for the list of IPs; if self-hosted, ask your admins. We then whitelist it and generate your API username and password.
03
Insert the generated username and password into the HTTP API template below and call send_sms over GET or POST.
Endpoint · send_sms
Requests can be sent using either the GET or POST method. The endpoint accepts five parameters and returns a delivery status.
GET https://retail.ccstele.co.uk/rest/send_sms
?from=<ani>
&to=<dnis>
&message=<message>
&username=<username>
&password=<password>Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
username | string | Yes | Account username generated when you created the connection in the CCS Platform. |
password | string | Yes | Account password generated when you created the connection. |
from | string | Yes | Originator address (ANI). Alphanumeric sender ID or short code. |
to | string | Yes | Destination MSISDN (DNIS) in international E.164 format. |
message | string | Yes | UTF-8 text of the message. Long messages are auto-concatenated. |
IP whitelist
Each connection is bound to an IP address or a mask. To allow a range, replace one or several octets with an asterisk — e.g. 192.168.1.* matches any IP starting with 192.168.1.