Transactional updates
Confirm an order, appointment, or account event as soon as your application records it.
SMS API for developers
Send customer updates, alerts, and verification messages from your own software. One API connects your product to the same Textly workspace, senders, wallet, and message history your team uses.
https://api.textly.co.kecurl https://api.textly.co.ke/messages \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: order-10482-update" \
-H "Content-Type: application/json" \
-d '{
"senderId": "approved-sender-uuid",
"messages": [
{
"recipient": "254712345678",
"text": "Hi Amina, your order is on its way."
}
]
}'Use the API when a message should follow an action in your system, rather than someone opening a campaign dashboard.
Confirm an order, appointment, or account event as soon as your application records it.
Schedule a message for the right moment with a timestamp in the send request.
Send to one recipient or submit a batch while keeping each message’s status visible.
The integration follows three parts: identify your application, send with a stable request key, then listen for the outcome.
Read the quickstartManage keys in your Textly workspace. Keep the bearer token on your server and revoke it when needed.
Call POST /messages with an approved sender, recipient, and message text. An Idempotency-Key makes a retry of the same request safe.
Query message status or receive signed delivery webhooks. Provider acceptance and confirmed delivery are separate events.
{
"id": "event-uuid",
"type": "message.delivered",
"data": {
"messageId": "message-uuid",
"recipient": "254712345678",
"status": "delivered"
}
}A successful API response starts the journey. Signed webhooks let your product react when a message is accepted, delivered, failed, or rejected.
The API sits alongside the tools your business needs to manage sending.
Use an approved branded or available public sender.
Repeat a timed-out request without creating a second send.
Look up individual messages and recent batches.
Keep message charges and available balance in view.
Start with the quickstart, inspect the endpoints, then connect your product to Textly.