TalkNTalk

An SMS API you can ship in an afternoon

Plain JSON over HTTPS. Send OTPs, alerts and receipts from your own system, then let signed webhooks tell your server what happened to each message.

JSON over HTTPS
REST
JSON over HTTPS
Webhook events
5
Webhook events
Sandbox to test
Free
Sandbox to test

POST /v1/sms/send/

curl -X POST https://api.v1.talkntalk.africa/v1/sms/send/ \
  -H "Authorization: Bearer tk_live_xxxxxxxx" \
  -H "X-Organisation-Id: YOUR_ORG_ID" \
  -d '{ "mobile": "254712345678",
        "message": "Your code is 482913" }'

Webhook · X-TalkNTalk-Event

  • sms.sentHanded to the network
  • sms.deliveredReached the handset
  • sms.undeliveredNumber unreachable

What you get

SMS API features

  • 01

    One message, a list or a group

    Separate endpoints for a single SMS, a bulk list and a saved contact group, so you never loop over thousands of requests.

  • 02

    Signed webhooks

    Delivery events are pushed to your endpoint and signed with HMAC-SHA256 in the X-TalkNTalk-Signature header.

  • 03

    Retries built in

    If your server is down, we retry after 1, 5 and 30 minutes, and you can resend any delivery from the webhook logs.

  • 04

    Campaign status over the API

    Fetch messages, check a campaign's progress and list its messages without opening the dashboard.

  • 05

    Keys per integration

    Create a separate API key for each system that sends, and revoke one without breaking the others.

  • 06

    Sandbox first

    Test SMS on a staging device and try WhatsApp in the sandbox before you switch to live keys.

Customer reading a message on their phone

Who it's for

What organisations use sms api for

  • One-time PINs and login codes
  • Payment and transaction receipts
  • Order, delivery and booking updates
  • System alerts to staff on call

Questions

SMS API: common questions

How do I authenticate?+

Send your API key as a Bearer token in the Authorization header, together with your organisation ID in the X-Organisation-Id header.

Can I test before going live?+

Yes. A staging device can be linked to your account for up to 20 free test SMS on request, and the WhatsApp sandbox is available straight away.

How do I get delivery reports?+

Add a webhook endpoint in the dashboard and choose the events you want, such as sms.delivered and sms.undelivered. Each one is posted to your server as JSON.

Is there an API for WhatsApp too?+

Yes. The same API key can send WhatsApp messages and group messages from your linked numbers.

Your next message could be out in five minutes

Create an account, add your contacts and send. Or tell us what you need and we will help you set it up.