← Projects

Messaging & API integration

USSD & SMS Voting

A voting workflow connecting a Django REST API to ordinary phones through USSD and SMS.

My roleBackend application and channel integration.
WORKFLOW OVERVIEW
USSD & SMS Voting
01USSD / SMS
02Messaging gateway
03Voting API

The communication channels connect to the Django REST voting application.

Overview

Project overview

  • Voting workflow
  • USSD access
  • SMS communication

Engineering contribution

My contribution

  • Implemented the voting API and USSD menu integration.
  • Connected SMS communication around the voting workflow.

Technology & scope

  • Python
  • Django REST Framework
  • USSD / SMS
  • Africa’s Talking

Technical details

Technical implementation

A voting workflow connecting a Django REST API to ordinary phones through USSD and SMS.

01

USSD client

The USSD session is a lightweight interface to the voting workflow. Short responses carry a choice from the handset to the application.

02

Voting API

Django REST Framework handles voting requests. The messaging gateway passes menu responses to the application endpoints and returns the next step.

03

SMS integration

SMS integration supports communication around the voting flow. The case illustrates how an application API can serve a basic-phone channel.

Workflow

Voting request

  1. 01

    Session

    A phone sends a short menu response.

  2. 02

    Gateway

    The messaging service passes on the choice.

  3. 03

    API

    Django REST Framework handles the request.

  4. 04

    Reply

    The next response returns to the phone.

SMS supports the surrounding communication workflow.

Next projectSportsCarpet