Two-way SMS lets your application both send messages to a customer and receive their reply — perfect for conversational support, surveys, USSD-style menus and SMS-driven workflows on any feature phone.

How it works

  1. You send outbound SMS using the standard Bulk SMS endpoint — the request payload is identical.
  2. Customers reply by sending an SMS back to your dedicated shortcode or longcode.
  3. Sozuri forwards the reply to your Received Message URL as a JSON POST, in real time.
Two-way SMS requires an approved shortcode or dedicated longcode. Apply for one from your dashboard at Numbers › Apply for a shortcode. Approval typically takes 5–10 business days.

Sending the outbound message

Two-way and one-way SMS share the same request format. Use the Send Bulk SMS endpoint with your registered shortcode as the from field.

Receiving the reply

When a customer texts your shortcode, Sozuri immediately posts the message to your configured Received Message URL. Configure the URL in Manage API › Callback URLs.

The callback body looks like this:

POST https://your-app.com/sozuri/incoming
Content-Type: application/json

{
    "project": "yourproject_name",
    "number": "254725164293",
    "shortcode": "25145",
    "message": "Hello, what is the location of your Nairobi office?",
    "messageId": "SMSGkjiPkX78654kls",
    "channel": "interactive",
    "status": "success",
    "network": "safaricom",
    "type": "interactive",
    "timestamp": "1603713484"
}

Optional callback authentication

For extra safety, you can register an Auth Key on the project. Sozuri will include it as a parameter on every callback so your server can verify the request really came from us before processing it.

Use cases

Two-way SMS is the most universal channel in Kenya. Here’s how teams use it.

Customer support without an app

Let customers text your shortcode for help — works on every phone, no data needed.

S
25145
Sozuri Support
Hi, where is your Nairobi office? 09:12
We’re at Westlands, Sarit Centre, 2nd floor. Open 9–5 Mon–Fri. Karibu! 09:12

SMS surveys & voting

Run polls, NPS surveys and audience voting on any device — ideal for media and field research.

C
CITIZEN TV
Vote
Who deserves Artist of the Year? Reply 1 for Sauti Sol, 2 for Nyashinski. 20:00
2 20:01

Lead capture & signup

Advertise a shortcode on radio or billboards. Anyone who texts a keyword becomes a qualified lead in your CRM.

L
40123
Loan
LOAN 11:45
Karibu! Reply with your full name and ID number to apply for a loan up to KES 50,000. 11:45

Build a conversation, not a broadcast.

Apply for a shortcode and start receiving replies in your application within minutes of approval.