AVENOLINK

Every message. A stronger connection. One platform for SMS, WhatsApp, email and USSD.

WhatsApp 0883 611 3760883 611 376hello@avenolink.com

Considering AvenoLink?

  • About us
  • Why AvenoLink
  • Pricing
  • Customer stories
  • Partners
  • Blog
  • Events
  • FAQ
  • Contact sales
Why AvenoLink

Products and features

  • Bulk SMS
  • WhatsApp Business
  • Email
  • USSD
  • Sender ID registration
  • Two-way messaging
  • Contact management
  • Delivery reports
  • Pre-built solutions
  • Support plans
All products

Use cases

  • SMS marketing
  • Notifications & alerts
  • OTP & verification
  • Customer support
  • Appointment reminders
  • Payment & billing alerts
  • Surveys & feedback
  • Bulk text messaging
  • Mass email sender
All use cases

Developers

  • Developer hub
  • SDKs & libraries
  • SMS API
  • WhatsApp API
  • Email API
  • USSD API
  • Webhooks
  • Sandbox
  • System status
  • Changelog
All docs

© 2026 AvenoLink. All rights reserved.

  • AvenoLink careers
  • Press and media
  • Legal
  • Privacy
  • Security
  • Cookies
  • Sitemap
AVENOLINK
  • Pricing
Log inContact SalesGet Started
BlogDevelopers

Build your first USSD menu in 15 minutes

USSD reaches every phone, with no data and no app. Here is how a session works and a minimal handler you can copy.

AAvenoLink Team·Oct 21, 2026·6 min read
Developers

USSD lets customers use a menu on any phone by dialling a short code. It is perfect for balance checks, payments and registrations, especially for customers who are offline.

How a session works

When a customer dials your code, AvenoLink calls an endpoint on your server for every step. The request includes the session id, the phone number and a text value holding the choices made so far, joined by an asterisk.

  • Reply with CON to keep the session open and show another menu.
  • Reply with END to show a final message and close the session.

A minimal handler

JavaScript
export async function POST(request) {
  const { text } = await request.json();
  const steps = text ? text.split("*") : [];

  if (steps.length === 0) {
    return new Response("CON Welcome\n1. Check balance\n2. Buy airtime");
  }
  if (steps[0] === "1") {
    return new Response("END Your balance is MWK 12,500");
  }
  return new Response("END Thank you");
}

Design tips

  • Keep menus to four or five options.
  • Number every option so customers reply with a single digit.
  • Answer quickly, because sessions time out fast.
  • Always finish with END and say what happens next.
A

AvenoLink Team

Product and engineering

All articles

Keep reading

Developers / Oct 14, 2026

Why delivery reports matter more than you think

Developers / Sep 9, 2026

Rate limits without the headaches

Developers / Sep 2, 2026

Handling failed messages gracefully