Android SMS Gateway webhooks: Overview

Featured illustration for Android SMS Gateway webhooks: Overview

Android SMS Gateway webhooks — overview. Feature deep dive on webhooks (overview). 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
October 24, 2025
Updated
November 25, 2025
Reading time
16 minute read

Key Takeaways

  • Android SMS gateway webhooks are HTTPS callbacks for message.delivered, message.failed, message.received, and USSD responses — confirm the live list in OpenAPI.
  • Verify X-SmsGateway-Signature (HMAC) and dedupe X-SmsGateway-Event-Id.
  • Register with POST /webhooks. Do not invent a query-string secret.
  • The radio still needs a phone and operator credit. Webhooks do not send SMS.
  • 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.

An Android SMS gateway webhooks overview is the control-plane story: the phone sent (or received) something; your server needs to know without sitting on GET. Events are signed. Retries happen. Your handler must not send a second OTP because it saw the same event twice.

Service pricing is based on device count and total SMS sent through the gateway. Product: SMS webhooks. Schema: API docs.

Signed webhook hop
Cyan is the body. Orange is the signature check. Cream is your app — not the SIM.
If the handler cannot prove the HMAC, it is not a webhook. It is an open POST on the internet.

Why webhooks beat polling

DLR latency, inbound STOP, USSD menus — polling every second burns your workers and still misses bursts. Push, then GET if you need a reconcile. Delivery reports.

Event table

Event (typical)UseTrap
message.delivered / failedOTP SLO, ticketsTreating failed as “user declined”
message.receivedSTOP, YES, supportNo owner; auto-reply loops
ussd.responseBalance / menusAssuming it is SMS DLR

Live event names: OpenAPI webhooks key. Illustrative delivered payload:

{
  "id": "evt_01K2F8QW3N4RXB7M",
  "type": "message.delivered",
  "createdAt": "2026-08-12T14:04:09Z",
  "apiVersion": "2026-08-12",
  "data": {
    "message": {
      "id": 41823,
      "number": "+14155552671",
      "text": "Your verification code is 481920",
      "status": "Delivered",
      "campaignId": 17,
      "deviceId": 3,
      "metadata": { "orderId": "1234" },
      "sentAt": "2026-08-12T14:04:02Z",
      "deliveredAt": "2026-08-12T14:04:09Z"
    }
  }
}

Signature and timestamp

X-SmsGateway-Signature = v1= hex HMAC-SHA256 of timestamp.body with the signing secret. Timestamp header is unix seconds. Dedupe on X-SmsGateway-Event-Id. Docs win if this comment ever drifts.

POST /webhooks

Register HTTPS URLs you control. Localhost is not reachable from the cloud relay. 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.

Your endpoint must be idempotent

We (and networks) retry. Same event id → no second SMS. Client retry backoff is a different layer.

Checklist

  • HMAC verified.
  • Event-id store.
  • TLS URL, not HTTP-open.
  • OTP not sent from the webhook handler without a challenge row.
  • Fields confirmed in docs.

Next steps

Pair a phone via downloads, register a webhook, send a canary, and prove the signature check fails when you tamper the body.

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

FAQ

Frequently asked questions

Direct answers about android sms gateway webhooks.

Can I skip signatures in staging?

You can, and then production will copy the hole. Verify HMAC on every environment.

Is GET /messages enough instead?

Fine for a canary. Production OTP and DLR dashboards want push events plus occasional GET.

Do webhooks include carrier credit?

No. They report what the SIM already did.

Where is the product page?

/webhook — this spoke is the overview.
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: Overview

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

Feb 3, 202516 min
Read article
Information
android sms gateway bulk csv

Android SMS Gateway bulk CSV import: Overview

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

Apr 9, 202616 min
Read article
Information
android sms gateway contacts

Android SMS Gateway contact lists: Overview

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

May 26, 202616 min
Read article
Information
android sms gateway delivery reports

Android SMS Gateway delivery reports: Overview

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

Feb 18, 202516 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.