Android SMS Gateway USSD requests: Setup

Featured illustration for Android SMS Gateway USSD requests: Setup

Android SMS Gateway ussd requests — setup. Feature deep dive on USSD requests (setup). Unique examples and failure modes; link matching /features path when exists. Priced by devices and SMS send volume; BYO phone and operator credit.

Written by the SMS Gateway team for operators who run phones and airtime themselves — not for theoretical cloud SMS demos.

InformationAndroid SMS GatewayFeaturesOperations
Article
Published
August 25, 2025
Updated
September 11, 2025
Reading time
16 minute read

Key Takeaways

  • USSD on an Android gateway is a session with the operator (*123# class), not a second SMS API.
  • Codes, menus, and whether balance checks work are SIM- and operator-specific. There is no universal *# catalog we ship.
  • Keep USSD off the OTP radio when you can. A stuck menu session is a different failure than a missing login code.
  • The handset must be on the mobile network. Wi-Fi-only pairing will not complete a USSD session.
  • Priced by devices and SMS send volume. You use your own phone and operator SMS credit. USSD does not include operator airtime; some codes still cost.

What USSD is on this path

Product: USSD gateway. Unstructured Supplementary Service Data is a session with the HLR/SMSC world of the operator — balance, bundles, some prepaid menus. It is not SMS, not MMS, not a loophole around consent for bulk. Hub: how an Android SMS gateway works.

If your “USSD integration” is scraping a menu to spam 10,000 numbers, you do not have a gateway use case. You have an abuse case we will not help with.
USSD is a short operator session tree, not a bulk SMS pipe*BAL#MENUTEXT BACK
Setup is radio + operator code + a timeout, not a second messaging product

USSD vs SMS vs STK

ChannelForNot for
SMSOTP, alerts, consented promoInteractive operator menus
USSDBalance, some account menusLogin codes, marketing blasts
SIM toolkitOperator applets on the SIMOur control plane

Balance and menus are operator-owned

Jazz, Telkomsel, AT&T, and Grameenphone do not share a code list. Use the sleeve, the operator site, or a staff canary. GSM Association context: GSMA. We do not publish a global *# encyclopedia.

Set up USSD requests

  1. Read the USSD feature page. Confirm the product surface. Do not copy a random GitHub USSD snippet against our API.
  2. Use a phone on mobile data / GSM. USSD rides the operator session. Wi-Fi-only is the wrong network.
  3. Grant whatever the app prompts. Phone/call-related permissions differ by Android version. Permission-denied USSD looks like a hang.
  4. Canary the real balance code. The code printed on the SIM sleeve for that operator. Parse the text; do not assume a number format.
  5. Timeout and lockout policy. Operators rate-limit USSD. Do not poll *123# every ten seconds from a worker.
  6. Keep it off the auth SIM if you poll. Balance automation competing with OTP is a self-inflicted outage.

Pairing: device setup. Permission issues: permission denied. API: SMS API documentation.

USSD is not an OTP channel

Users expect a text. Retriever APIs expect a text. OTP verification stays SMS. Isolate radios: multi-device.

Session timeouts and OEM

Overlay screens eat the USSD dialog. Accessibility services and second-skin launchers break sessions. Canary on the production OEM, not a Pixel in HQ.

Cost shape

Service pricing is based on device count and total SMS sent through the gateway. You need a working Android phone with a SIM and SMS credit from your mobile operator. Operator message costs are yours—we do not sell carrier SMS balance. Some USSD codes are billed by the operator. Free is 300 SMS lifetime for SMS canaries — do not assume USSD is unmetered on the carrier. Paid from $19/month. Device and SMS volume pricing.

Next steps

GSM-connected phone, real operator code, polite timeout, USSD off the OTP SIM. Then read the feature page for the product surface.

Jump to the live product docs for this topic—not another long-form article.

FAQ

Frequently asked questions

Direct answers about android sms gateway ussd.

Can I send bulk SMS via USSD?

No. USSD is interactive sessions with the operator. Bulk and OTP stay on SMS. Do not try to automate a menu as a secret A2P pipe.

Where is the product page?

USSD gateway. This page is setup: grants, radio, canary a balance check, parse the response carefully.

Why did the session return empty?

Wrong code for that SIM, roaming, OEM overlay stealing the UI, or the operator ended the session. Canary on the production operator, not a lab MVNO.

Where are live API fields?

Developer Center. Operator codes are not API fields we invent.
Keep learning

Topically related guides—chosen by subject overlap, not a fixed sitewide footer.

Information
android sms gateway auto reply

Android SMS Gateway auto-reply and STOP: Setup

Android SMS Gateway auto reply and stop — reply and STOP-setup. Feature deep dive on auto-reply and STOP (setup). Unique examples and failure modes; link matching /features path when exists. Priced by devices and SMS send volume; BYO phone and operator credit.

Oct 9, 202516 min
Read article
Information
android sms gateway bulk csv

Android SMS Gateway bulk CSV import: Setup

Android SMS Gateway bulk csv import — setup. Feature deep dive on bulk CSV import (setup). Unique examples and failure modes; link matching /features path when exists. Priced by devices and SMS send volume; BYO phone and operator credit.

May 29, 202616 min
Read article
Information
android sms gateway contacts

Android SMS Gateway contact lists: Setup

Android SMS Gateway contact lists — setup. Feature deep dive on contact lists (setup). Unique examples and failure modes; link matching /features path when exists. Priced by devices and SMS send volume; BYO phone and operator credit.

Aug 3, 202516 min
Read article
Information
android sms gateway delivery reports

Android SMS Gateway delivery reports: Setup

Android SMS Gateway delivery reports — setup. Feature deep dive on delivery reports (setup). Unique examples and failure modes; link matching /features path when exists. Priced by devices and SMS send volume; BYO phone and operator credit.

Jun 17, 202616 min
Read article

Browse the full Android SMS gateway knowledge base or return to how an Android SMS gateway works.

Get started

Test the gateway on your own Android phone

Install the app, pair one device, and validate your API flow before choosing a paid plan.

You supply the phone, SIM, and operator SMS credit.