Quick start
tsk_live_. It's only shown once — paste it straight into your system./api/v1/sms/ with a number and a message. That's it.curl -X POST https://telexicosms.com/api/v1/sms/ \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"to":"07983134444","text":"Your order #1042 is ready to collect"}'
https://telexicosms.com/api/v1/ — every endpoint ends with a slash, e.g. /api/v1/sms/.API keys
Keys are created by your company owner (or anyone given the Manage API keys right) in the portal. Use one key per system so you can switch each off on its own.
| Setting | What it does |
|---|---|
| Permissions | Till / send only — send, check status, balance. Full access — adds opt-outs and the message log. Read only — no sending. |
| Expiry | 30 days, 90 days, 6 months, 1 year (recommended) or never. Owners see a warning on their dashboard 14 days before, and can add a year in one click. |
| Sends as | The sender ID used when your request doesn't give one. |
| IP lock | Optional. Only accept requests from your shop's or server's IP addresses. |
| Sender ID | Each key sends as one sender ID, chosen when you make it. Need two names? Make two keys. |
| On / off | Switch any key off to pause it, and back on when you're ready. Nothing else changes. |
| Rate limit | Requests per minute (default 60). |
Authentication
Send your key in the Authorization header on every request:
Authorization: Bearer tsk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
If your system can't set an Authorization header, use X-API-Key: tsk_live_… instead. All requests should use HTTPS.
Send SMS
| Field | Required | Description |
|---|---|---|
to | Yes | One number, or a list of up to 100. Any UK format — 07983 134444, +44 7983 134444, 447983134444. |
text | Yes | The message, up to 1,530 characters. |
reference | No | Groups texts in your reports, e.g. "Till - Dudley". |
client_ref | No | Your own id (e.g. order number), returned with status — single number only. |
from | No | Optional. Every key is locked to one sender ID, chosen when it was made. Leave this out, or send that same name. |
send_at | No | ISO date-time to schedule, e.g. 2026-11-20T10:00:00+00:00. |
optout_link | No | true adds an opt-out link — required for marketing. Leave off for order and booking updates. |
{
"to": "07983134444",
"text": "Hi Sarah, your table for 4 is booked for 7:30pm tonight.",
"reference": "Bookings",
"client_ref": "booking-8812"
}
Response — 201 Created
{
"batch_id": 4821,
"status": "accepted",
"from": "JoeysBBQ",
"encoding": "GSM-7",
"parts_per_message": 1,
"credits_charged": 1,
"credits_remaining": 9876,
"messages": [{
"id": "T3BA90211", "to": "447983134444", "status": "sent",
"parts": 1, "client_ref": "booking-8812", "sent_at": "2026-11-17T18:02:11+00:00"
}]
}
Invalid numbers are listed under invalid with a reason, and opted-out numbers under opted_out — they're never sent or charged.
Message status
| Status | Meaning |
|---|---|
queued | Waiting to send (scheduled or in a busy batch). |
sent | Handed to the network — waiting for the handset to confirm. |
delivered | Delivered to the phone. done_at shows when. |
failed | Couldn't be delivered — error.description says why (e.g. phone switched off, number doesn't exist). |
not_sent | Skipped — e.g. the number opted out after the request. |
Balance
{ "credits": 9876, "low": false }
Message log
All filters are optional; the default is the last 7 days, newest first, up to 500 per page. Needs a Full access or Read only key.
Opt-outs
{"to":"07983134444"}Use this when a customer tells your staff to stop texting them. Opted-out numbers are skipped by every campaign and API send automatically.
Check your key
Returns the company, the key's permissions and days_until_expiry — handy for a health check in your system.
Tills & EPOS — the recommended setup
- Order ready / collection: send when the order is marked ready. Use the order number as
client_refand as theIdempotency-Key. - Timeouts: wait up to 30 seconds. If there's no answer, retry with the same Idempotency-Key — it will never send twice.
- Reference per branch: e.g.
"Till - Dudley","Till - Walsall", so each shop's texts show separately in Reports. - One key per till or branch, with a 1-year expiry and the IP lock set to the shop's broadband IP.
- Keep it short: under 160 characters with no emojis is 1 credit per text.
No double sends (idempotency)
Add an Idempotency-Key header to any POST. If the same key arrives again — because a till retried after a dropped connection — we return the original response (with header Idempotent-Replayed: true) instead of sending again.
Idempotency-Key: order-1042
Numbers & credits
Every number is converted to international format (447983134444) automatically — spaces, dashes, +44, 0044 and 07 are all fine. Landlines and invalid numbers are rejected with a reason.
| Message | Credits |
|---|---|
| Up to 160 standard characters | 1 |
| 161–306 / 307–459 characters | 2 / 3 |
| With an emoji, curly quote ’ or long dash — | Unicode: 70 characters per credit (67 when split) |
Errors
Errors return a JSON body: {"error": {"code": "…", "message": "…"}}
| HTTP | Code | What to do |
|---|---|---|
| 401 | missing_key · invalid_key · key_expired · key_revoked | Check the key, or create a new one in the portal. |
| 403 | key_disabled | The key is switched off. Switch it back on under API & integrations. |
| 403 | api_disabled | API access is off for this account. Call Telexico on 01902 427 427. |
| 422 | sender_locked | Each key always sends as one sender ID. Leave out from, or make another key for the other name. |
| 402 | insufficient_credits | Top up credits — call 01902 427 427. |
| 403 | missing_scope · ip_not_allowed · account_suspended | Use a key with the right permission, or check the IP lock. |
| 422 | missing_text · no_valid_numbers · sender_not_approved · too_many_recipients | Fix the request — the message explains what's wrong. |
| 429 | rate_limited | Wait the number of seconds in Retry-After. |
Limits
- Up to 100 numbers per send request — use a campaign in the portal for bigger lists.
- 60 requests a minute per key by default (headers
X-RateLimit-LimitandX-RateLimit-Remaining). - Messages up to 1,530 characters.
Help
Telexico Communications Ltd, Wolverhampton. Call 01902 427 427, WhatsApp 07983 134 444 or email hello@telexico.com.