Android SMS Gateway webhooks: Api usage

Featured illustration for Android SMS Gateway webhooks: Api usage

Android SMS Gateway webhooks — api usage. Feature deep dive on webhooks (api usage). 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 9, 2026
Updated
August 29, 2026
Reading time
16 minute read

Key Takeaways

  • android sms gateway webhooks api usage: subscribe to delivery and inbound events; do not poll forever.
  • Do not rewrite /webhook. This spoke is register + verify + idempotent handle.
  • CRUD lives at https://app.sms-gateway.app/api/v1/webhooks. Confirm fields in Developer Center.
  • X-SmsGateway-Signature must match HMAC-SHA256 of timestamp + body. Dedupe X-SmsGateway-Event-Id.
  • Priced by devices and SMS send volume. You use your own phone and operator SMS credit. A delivered webhook does not refund or include carrier credit.
  • Free 300 SMS lifetime is enough to fire a staff canary callback.

Searchers for android sms gateway webhooks API usage want the callback contract, not another overview. The pillar is SMS webhook integration. Timeouts: webhook timeout.

Priced by devices and SMS send volume. You use your own phone and operator SMS credit.

If you trust an unsigned JSON POST because it “looks like our DLR,” you have given the internet a write path into order status. Verify HMAC first.

Pillar owns the product story

Live parameters: Developer Center. The phone still radios the SMS; webhooks report what happened after.

Register with POST /webhooks

Bearer, JSON, HTTPS URL you control. No query-string keys. Illustrative delivered payload (shape can drift — docs win):

{
  "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"
    }
  }
}

Events you actually handle

EventMeansHandler must
message.deliveredCarrier/handset reported delivered (when the network does)Idempotent; some paths never DLR
message.failedFailed after acceptNot the same as HTTP 4xx on send
message.receivedInbound SMS on the SIMSTOP / two-way ownership

HMAC on every POST

X-SmsGateway-Signature = v1=hex(HMAC-SHA256("{timestamp}.{body}", secret)). Timestamp header is unix seconds. Reject stale clocks. Dedupe on X-SmsGateway-Event-Id. Sample verify patterns: PHP HTTPS samples— not a packaged SDK.

Ack fast

Enqueue work; return 2xx. Retries duplicate. Send idempotency is a different header.

Do not log OTP bodies

Store message ids. Isolate OTP devices so inbound STOP automation cannot trampoline into auth threads.

Checklist

  • URL registered; TLS valid.
  • HMAC + timestamp + event id.
  • Handler p95 under retry timeout.
  • Docs checked the day you freeze.
  • Staff canary delivered + received.
  • No secrets in Postman team dumps.

Next steps

Pair a phone, then subscribe. Pricing remains devices + volume.

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.

How do I register a webhook?

POST /api/v1/webhooks with Bearer auth. Live schema: https://docs.sms-gateway.app/. Do not invent /api/webhook-notify.

Which events exist?

At minimum message.delivered, message.failed, message.received. The OpenAPI webhooks key wins over this blog.

Does webhook success mean the SMS was free?

No. Priced by devices and SMS send volume. You use your own phone and operator SMS credit.
Keep learning

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

Information
android sms gateway contacts

Android SMS Gateway contact lists: Api usage

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

Sep 21, 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.