SMSNET
Guide

Send Order and Delivery Notifications by SMS

To send order and delivery notifications by SMS, POST to and body to https://smsnet.net/api/v1/messages/send with your key in the X-API-Key header each time an order changes state. One template per event keeps messages short, replies route back to your own number, and the free plan covers 300 a month with replies never counted.

What do I need before the first notification goes out?

Three things: a connected phone, an API key, and an order event source. Install the SMSNET Gateway app on any Android 8.0 or newer phone with a SIM, sign in, and the last screen of setup shows your key once. The Android gateway guide walks through every screen. Your event source is whatever already knows the order moved: a Shopify or WooCommerce order webhook, a row change in your database, or a status update in your fulfillment sheet.

Collect the phone number and SMS consent at checkout with one unchecked box, and store both next to the order. Recipients go in E.164 format (+15551234567). The endpoint reference lives in What Is an SMS API and How to Use One, and the scripted version of the send call is shown in Send an SMS from Node.js.

Is there a WooCommerce plugin?

Not yet. A plugin called SMSNET for WooCommerce is being built, and the plan is to list it on wordpress.org. It is not published, so there is nothing to install today, and this guide does not depend on it. Until it ships, a WooCommerce store sends through the same request as everything else: an order status hook or a WooCommerce order webhook calls the API, as shown below. The Hebrew guide includes a short PHP snippet for that (in Hebrew). When the plugin is available, it will be the first option on this page and the manual route will stay as the alternative.

What should each lifecycle message say?

One event, one template, one text. Four events cover nearly every store: confirmed, shipped, out for delivery, and delivered. Keep each message under two sentences, lead with your shop name so the customer files it correctly, and sign every template the same way.

EventTriggerTemplate
ConfirmedPayment capturedAcme: order 4821 confirmed. We will text you when it ships. Reply STOP to opt out.
ShippedLabel created or carrier pickupAcme: order 4821 shipped. Track it: acme.example/t/4821
Out for deliveryCourier scanAcme: courier is nearby with order 4821. Keep your phone on.
DeliveredDrop scan or photo proofAcme: order 4821 delivered. Reply HELP with any problem.

Send each text with the same request your whole stack uses:

{
  "to": "+15551234567",
  "body": "Acme: order 4821 shipped. Track it: acme.example/t/4821"
}

That request puts this on the customer's phone, and the reply comes back to you:

Acme: order 4821 shipped. Track it: acme.example/t/4821

14:02 · 1 segment · GSM-7

WHERE IS MY ORDER

14:20 · 1 segment · GSM-7

The reply reaches the webhook you registered, covered below.

POST that JSON to https://smsnet.net/api/v1/messages/send with the X-API-Key header. The response returns message_id, conversation_id, and your remaining quota. Save the message_id next to the order id and the event name before you do anything else; that row is what makes retries safe, as explained below.

One template per event, from confirmed to delivered.

Order lifecycle timeline with one SMS at each step A horizontal timeline with four stops: confirmed, shipped, out for delivery, and delivered. Under each stop sits a message card showing the short template sent at that step, followed by a note that routine updates wait for morning quiet hours and that each send returns a message id to store for idempotent retries. One template per event, from confirmed to delivered Each state change fires one short text. Replies arrive on your own number. Confirmed Shipped Out for delivery Delivered Acme: order 4821 confirmed. We will text you when it ships. Acme: order 4821 shipped. Track it: acme.example/t/4821 Acme: courier is nearby with order 4821. Keep phone on. Acme: order 4821 delivered. Reply HELP with any problem. Routine updates wait for morning quiet hours. Only urgent, time critical events send at night. Each send returns a message id. Store it with the order id and event name to skip duplicates on retry.
Order lifecycle timeline: confirmed, shipped, out for delivery, and delivered, each with its short SMS template plus quiet hours and idempotency notes.

How do I respect quiet hours?

Routine updates wait for the morning. A shipped scan at 2 a.m. should queue until your sending window opens, not wake the customer. Only urgent, time critical events send at night: a courier who cannot find the address, a delivery that failed twice, a pickup window closing in an hour.

Mark those urgent messages with "transactional": true in the send body. Transactional messages skip the pacing gap and quiet hours and reach the phone in about a second, while still respecting the daily ceiling. Everything else sends without the flag and lands inside quiet hours. If your store promises delivery day precision, schedule the out for delivery text for the morning of the route rather than the midnight sort scan.

How do I handle WHERE IS MY ORDER replies?

Expect this exact sentence; it is the most common reply any store gets. Deflect it with keywords instead of staff time. Register your reply webhook once with PUT https://smsnet.net/api/v1/webhooks, pointing at your order endpoint, then route on the reply text:

ReplyResponse
Contains TRACK, WHERE, or STATUSSend the latest tracking link for their most recent open order
HELP or HUMANOpen a ticket or page the on-call phone, and confirm a human will answer
STOPEnd the conversation and mark the number opted out; never text it again
Anything elseLook up their latest open order and send its current state in one sentence

Replies cost you nothing extra: inbound texts never count against the 300 a month or the 20 a day. Dedupe inbound webhook events on the X-SMSNET-Delivery header, which is stable across the nine retries over about three days, and test the whole loop first with POST /api/v1/webhooks/test.

How do I make retries idempotent?

Couriers retry webhooks, queues redeliver, and deploys run twice. Without a guard, the customer gets two shipped texts and stops trusting your updates. The guard is the row you saved at send time: order id, event name, and the returned message_id.

Before every send, check whether a row already exists for that order id and event name. If it does, skip the send; the message already went out, and you can re-read its status with GET /api/v1/messages?direction=inbound&since= for replies or your stored id for the outbound leg. If it does not, send and insert the row in the same step. Retries then converge: the first attempt sends, every later attempt finds the row and stands down. This also protects the daily ceiling, since a duplicated send spends quota twice.

Everything in this guide runs on the free plan: 300 messages a month, 20 a day, replies never counted, plus a 14-day Growth trial when holiday volume needs more headroom. New lines also open on the warmup ladder at 100 a day, which climbs with use.

FAQ

How do I send order status updates by SMS?

POST JSON with to and body to https://smsnet.net/api/v1/messages/send with your SMSNET API key in the X-API-Key header, once per lifecycle event: confirmed, shipped, out for delivery, and delivered. Save the returned message_id next to the order id and event name so retries never double send.

What should a delivery notification text say?

Your shop name, the order number, and the new state in under two sentences, for example Acme: order 4821 shipped. Track it: acme.example/t/4821. Lead with the shop name so the customer files the message correctly, and keep one fixed template per event.

Should order SMS respect quiet hours?

Yes. Routine updates wait for the morning sending window, and only urgent events like a courier who cannot find the address send at night with transactional set to true. Transactional messages skip quiet hours but still respect the daily ceiling.

How do I answer WHERE IS MY ORDER replies automatically?

Register a reply webhook with PUT /api/v1/webhooks and route on keywords: TRACK style replies get the latest tracking link, HELP pages a human, STOP opts the number out, and anything else gets the latest open order state in one sentence. Inbound replies never count against your plan.

How do I stop customers getting duplicate shipping texts?

Store the returned message_id with the order id and event name before anything else, and check for that row before every send. The first attempt sends and later retries find the row and stand down, which also protects your daily quota.

How many order notifications does the free plan cover?

300 outbound messages a month and 20 a day, with inbound replies never counted. A store sending four texts per order covers about 75 orders a month on the free plan, and a 14-day Growth trial adds headroom for busy seasons.

This is a spoke of SMS Automation. Start with What Is an SMS API and How to Use One for the endpoint reference, or Send an SMS from Node.js for the scripted version of the same calls. The phone comes from Turn Your Android Phone into an SMS Gateway. For spreadsheet-based workflows, see Send SMS From Google Sheets With Your Own Phone. For Home Assistant automations, see Home Assistant: Send SMS From Your Own Phone.

Send your first message today

Free plan, no card: 400 messages a month from your own number, with the API, webhooks and MCP included.

Get the app See pricing

Get it on Google Play

Written by , who builds SMSNET. Product facts on this page are checked against the live pricing page and the running API on the date shown above.