telexicosmsAPI v1Get an API key
Developer guide

Send texts from your till in one request.

Using an AI assistant or handing this to a developer? Give them telexicosms.com/developers/llms.txt — the whole API in plain text, ready to paste — or the OpenAPI spec. In your portal, API & integrations → Copy setup pack gives them the same thing with your key and sender already filled in.

A simple, secure REST API for tills, EPOS, CRMs, booking systems and websites. JSON in, JSON out. Any UK number format. Duplicate-proof retries.

⚡ One call to send🔑 Scoped, expiring keys🔁 Idempotent retries📊 Shows in your reports🇬🇧 UK support

Quick start

Create a keySign in → API & integrations → New key. Name it after the system, e.g. “Dudley till”.
Copy it onceThe key starts tsk_live_. It's only shown once — paste it straight into your system.
Send a textPOST to /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"}'
Base URL: 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.

SettingWhat it does
PermissionsTill / send only — send, check status, balance. Full access — adds opt-outs and the message log. Read only — no sending.
Expiry30 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 asThe sender ID used when your request doesn't give one.
IP lockOptional. Only accept requests from your shop's or server's IP addresses.
Sender IDEach key sends as one sender ID, chosen when you make it. Need two names? Make two keys.
On / offSwitch any key off to pause it, and back on when you're ready. Nothing else changes.
Rate limitRequests per minute (default 60).
Keep keys secret. Store them on your server or till only — never in a website's page code or a mobile app. We store keys scrambled (SHA-256), so a lost key can't be recovered: revoke it and make a new one.

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

POST/api/v1/sms/
FieldRequiredDescription
toYesOne number, or a list of up to 100. Any UK format — 07983 134444, +44 7983 134444, 447983134444.
textYesThe message, up to 1,530 characters.
referenceNoGroups texts in your reports, e.g. "Till - Dudley".
client_refNoYour own id (e.g. order number), returned with status — single number only.
fromNoOptional. Every key is locked to one sender ID, chosen when it was made. Leave this out, or send that same name.
send_atNoISO date-time to schedule, e.g. 2026-11-20T10:00:00+00:00.
optout_linkNotrue 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

GET/api/v1/sms/?id=T3BA90211
StatusMeaning
queuedWaiting to send (scheduled or in a busy batch).
sentHanded to the network — waiting for the handset to confirm.
deliveredDelivered to the phone. done_at shows when.
failedCouldn't be delivered — error.description says why (e.g. phone switched off, number doesn't exist).
not_sentSkipped — e.g. the number opted out after the request.

Balance

GET/api/v1/balance/
{ "credits": 9876, "low": false }

Message log

GET/api/v1/messages/?from=2026-11-01&to=2026-11-30&reference=Bookings&status=delivered&limit=100&page=1

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

GET/api/v1/optouts/?to=07983134444
POST/api/v1/optouts/  {"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

GET/api/v1/

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_ref and as the Idempotency-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.

MessageCredits
Up to 160 standard characters1
161–306 / 307–459 characters2 / 3
With an emoji, curly quote ’ or long dash —Unicode: 70 characters per credit (67 when split)
Tip: use straight quotes ' and normal dashes - and skip emojis — the same message often drops from 3 credits to 1.

Errors

Errors return a JSON body: {"error": {"code": "…", "message": "…"}}

HTTPCodeWhat to do
401missing_key · invalid_key · key_expired · key_revokedCheck the key, or create a new one in the portal.
403key_disabledThe key is switched off. Switch it back on under API & integrations.
403api_disabledAPI access is off for this account. Call Telexico on 01902 427 427.
422sender_lockedEach key always sends as one sender ID. Leave out from, or make another key for the other name.
402insufficient_creditsTop up credits — call 01902 427 427.
403missing_scope · ip_not_allowed · account_suspendedUse a key with the right permission, or check the IP lock.
422missing_text · no_valid_numbers · sender_not_approved · too_many_recipientsFix the request — the message explains what's wrong.
429rate_limitedWait 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-Limit and X-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.