SDKs & code samples
Examples in the language you use
The API is plain REST, so any HTTP client works. Start from a ready sample, or add live chat to your mobile app with the in-app SDK.
What is here
Samples and SDKs
cURL, Node.js and Python
Ready samples that authenticate and send a message.
Any HTTP client
There is nothing proprietary to install: send JSON with a Token header.
In-app chat SDK
Bring the same live chat experience into your iOS and Android apps.
Docs for each step
The developer docs show every field and response.
Node.js
Send from Node.js
The same request in a few lines of fetch.
const res = await fetch(url, {
method: "POST",
headers: { Token: token, "Content-Type": "application/json" },
body: JSON.stringify({
from: "SMSLOCAL",
to: "14155550123",
content: "Your code is 481920.",
}),
})
const { msgid, errorcode } = await res.json()Related
Keep exploring
Get Started
Pick a sample and ship
Get your access key and send your first message.
Answers To Your Questions
SDKs — frequently asked questions
No. It is a REST API, so any HTTP client in any language can call it.
An in-app SDK brings live chat into your iOS and Android apps, landing in the same shared inbox as your other channels.