Call Center Systems — Africa

How to Build an Auto Dialer with a Voice API (Kenya)

Build an outbound auto dialer in Kenya with a programmable voice API. Code examples for placing calls, play-and-press campaigns, pacing and compliance.

The quick answer: An auto dialer is a program that reads a list of phone numbers and places outbound calls automatically, then connects answered calls to an agent or plays a recorded message. To build one in Kenya you need three things: a programmable voice API that provisions a local number and places calls over code (such as SautiKit), a loop that paces calls so you do not overwhelm agents or recipients, and a webhook that decides what each answered call hears. If you would rather not build it, SautiDesk Pro ships pre-recorded, progressive and predictive calling campaigns out of the box.

Outbound calling is one of the highest-value automations a Kenyan business can run: delivery confirmations, payment reminders, appointment nudges, survey calls and lead follow-up. Doing it by hand does not scale. This guide shows how an auto dialer works, then builds a simple one with a Kenyan programmable voice API, and finishes with the pacing and compliance rules that separate a useful dialer from a nuisance.

What is an auto dialer?

An auto dialer is software that automatically dials a list of telephone numbers so agents do not have to dial each one by hand. When a call is answered, the dialer either connects it to an available agent or plays an automated flow (a recording, an IVR menu, a survey). The three common modes are preview (agent sees the contact, then triggers the call), progressive (one call per free agent, dialed automatically) and predictive (dials several numbers ahead of free agents using answer-rate maths). A fully automated robocall dialer skips the agent entirely and just plays a message or runs an IVR. That is the simplest to build and the one we start with below.

What you need to build one in Kenya

You need a programmable voice API with a local number (SautiKit provisions a local Kenyan number by API at KES 500 per month, bills outbound calls at KES 0.05 per second and makes inbound calls free), a contact list in E.164 format with a status column so you never double-dial, a pacing loop that releases calls at a controlled rate, and a webhook that tells the API what each answered call should do.

Step 1: Place a single outbound call

Every dialer is a loop around one primitive: place one call. With SautiKit that is POST /v1/calls against https://api.sautikit.com, authenticated with a bearer token you mint in the dashboard.

curl -X POST https://api.sautikit.com/v1/calls \
  -H "Authorization: Bearer $SAUTIKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "+254200000001",
    "to": ["+254712345678"],
    "voice_callback_url": "https://your-app.example.com/voice"
  }'

Here from is a number your workspace owns, to is an array of E.164 destinations, and voice_callback_url is where SautiKit asks what to do when the call is answered. A successful request returns 201 with a call_id, session_id and status. Store the call id against the contact so you can match the result later.

Step 2: Decide what an answered call hears

When the call connects, SautiKit requests your callback URL. You respond with a JSON array of voice actions. For a simple reminder, play a message and hang up:

res.json({
  actions: [
    { say: { text: "Hello from Acme. Your delivery arrives today between 2 and 5 PM.", voice: "woman" } },
    { hangup: {} }
  ]
});

To make it interactive (press 1 to confirm, 2 to reschedule), use getDigits with a nested prompt and branch on the caller's key press. (Verify the exact field name that carries the collected digits in the SautiKit webhook docs before you rely on it.)

Step 3: Loop the list, with pacing

Wrap the single call in a controlled loop. The naive version (dial every number at once) will burn your wallet and annoy recipients. A progressive pace dials the next contact only when capacity frees up, using a low concurrency limit and a minimum gap between dial attempts. True predictive dialing (dialing ahead of free agents based on live answer rates) is a maths problem on top of this loop; most teams do not need it until they are running thousands of calls a day.

import { SautikitClient } from "@sautikit/node";
const client = new SautikitClient({ apiKey: process.env.SAUTIKIT_API_KEY });
// dial each contact, keeping at most N calls active at once
client.calls.create({ from: process.env.CALLER_ID, to: [contact.phone] });

Step 4: Track results and never double-dial

Give each contact a status (pending, dialed, answered, no_answer, failed, done) and update it from the call id and the webhook result. This lets you retry only the unanswered, stop cleanly, and report outcomes. SautiKit also exposes call detail by id (GET /v1/calls/{id}) so you can reconcile duration, status and cost per call.

The rules that keep your dialer legal and welcome

Get consent and keep an opt-out suppression list that you check before every dial: under Kenya's Data Protection Act 2019 you need a lawful basis to call people and must honour opt-outs. Call within business hours only. Pace for the network and the person with low concurrency and a gap between attempts. Never use a programmable-voice number for emergency or life-safety calling. And identify yourself at the start of every call. (This is general guidance, not legal advice; have counsel review your campaign.)

Build it, or buy the managed version?

Building your own dialer gives you full control and the lowest per-call cost, and SautiKit gives you the raw voice API to do it. That is the right path if you have developers and want the campaign stitched into your own systems. If you would rather not run the loop, the webhook and the compliance plumbing yourself, SautiDesk Pro includes pre-recorded, progressive and predictive calling campaigns as a managed feature, alongside a full agent desk from KES 3,000 per user per month. For a buyer-focused comparison of dialer products, see our auto dialer software in Kenya overview.

Frequently asked questions

How does an auto dialer work? It reads a list of numbers, places calls automatically at a controlled pace, detects whether each call is answered, and then either connects the call to an agent or plays an automated flow such as a recording or IVR. Results are written back against each contact so only unanswered numbers are retried.

What is the difference between preview, progressive and predictive dialing? Preview lets an agent see the contact and trigger the call manually. Progressive dials one call per free agent automatically. Predictive dials several numbers ahead of free agents using answer-rate maths to maximise talk time, at the risk of abandoned calls if it over-dials.

Can I build an auto dialer in Kenya with an API? Yes. A programmable voice API such as SautiKit provisions a local Kenyan number and places calls over a single REST endpoint (POST /v1/calls), so you can loop a contact list in code and control what each answered call hears via a webhook.

How much does it cost to run a dialer in Kenya? With SautiKit the number is KES 500 per month, outbound calls are KES 0.05 per second, and incoming calls are free, so a 30-second reminder call costs about KES 1.50 in call time. Recording is free, with compliance recording at KES 0.50 per minute.

Is it legal to run outbound campaigns in Kenya? You need a lawful basis under the Data Protection Act 2019 and must honour opt-outs and keep a suppression list. This is general information, not legal advice; have a lawyer review your specific campaign and consent model.

Do I need agents, or can it be fully automated? Both are possible. A fully automated dialer just plays a message or runs an IVR on answer. A progressive or predictive dialer connects answered calls to live agents. Start automated and add agents when you need two-way conversations.

Start building

If you have developers and want full control, grab a Kenyan number and your API key from SautiKit and place your first call today. If you would rather switch on a managed campaign with supervisor tools and reporting, SautiDesk Pro has pre-recorded, progressive and predictive calling campaigns ready to run.

Last updated
November 17, 2026
Single Inbox
Pro-tip

Are you ready to get started? Sign up here for a demo of the HelloDuty CRM and customer engagement automation software now.

Pesalink - BlackSistema Bio - BlackTatu City - BlackStartimes - Black
Sunculture Logo

It works for our customer SunCulture. We help agents sell solar. It takes a few hours, not months, to design and build new ideas.

Relationships that matter.

Plan, engage, and analyse with ease. Transform your customer relationship with an all-in-one platform.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Subscribe