Fleet and tracking software can use an SMS API to text a driver or dispatcher when a rule fires, such as a geofence exit, a late stop or a maintenance flag. The build has four parts: a sub-account per fleet customer, a send call with consent and idempotency, delivery status webhooks so dispatch knows what landed, and a plan for the per-second limits that shape how fast a burst can go.
We make Ready, so we have a stake here. This post covers the alert types, the sub-account model, webhooks, rate limits and the one honest warning about alerts that can't wait.
Alerts worth a text
Texts suit short, actionable events for a person who isn't looking at your dashboard. Typical ones:
- Driver alerts. A stop was reassigned, a pickup window moved, or a vehicle inspection is due.
- Dispatcher alerts. A vehicle left a geofence, a trip is running late, or a device stopped reporting.
- Customer notices. A delivery window update for the fleet customer's own end customer, if that fleet customer chooses to send them.
Each message should say what happened and what to do, then stop. A driver reading it at a red light, or a dispatcher scanning a phone between calls, won't read a paragraph. Avoid long reports and put detail behind a link. Keep to plain characters where you can: an emoji drops a segment from 160 characters to 70, and every segment is billed. For on-call patterns, see SMS on-call alerts from your app and the critical alert fallback ladder.
Consent for driver and dispatcher texts
Employees get texts too, and the sender still needs their agreement. The fleet customer collects it, for example when a driver enrolls in the app or signs an acknowledgement, and you pass consent_attested: true on each API send as your promise that the recipient agreed. Ready records the attestation (who sent, to how many, when). It doesn't store the driver's opt-in time or wording, so keep that record in your product. An API send without the field still goes out today with a warning and Deprecation and Sunset headers naming January 20, 2027 (UTC), so add it now. For the record design, see documenting SMS consent.
A driver can reply STOP, and Ready then blocks that number in the sub-account that received it. Build your dispatcher view to show the driver as opted out, and check GET /v1/opt-outs/:phone when you're unsure.
One sub-account per fleet customer
Each fleet company using your platform is its own sender with its own name and EIN, so it gets its own sub-account, numbers and 10DLC registration. The steps:
POST /v1/sub-accountswhen a customer turns on text alerts.POST /v1/registration/brand,POST /v1/registration/campaignandPOST /v1/registration/confirmto file registration, withGET /v1/registrationto read status.POST /v1/numbersto give that customer a number.- Send with that sub-account's credentials, so usage and opt-outs stay with the customer.
Webhooks registration_in_review, registration_approved and registration_rejected are the main status signal, and a slow GET /v1/registration poll (about once an hour while in review, once a day after approval) is the backstop. Most approvals take 2 to 7 days, and until then a sub-account sends from its own number on Ready's shared registration, up to 500 texts a calendar month. Registration needs an EIN. Docs: sub-accounts and registration. Design notes live in multi-tenant SMS architecture for SaaS.
The send request
{
"to": "+12125550199",
"body": "Truck 14 left the Dock A geofence at 2:10 PM. Open the app for details.",
"consent_attested": true
} Send it to POST /v1/messages with an X-API-Key header and an Idempotency-Key, one UUID per alert. This matters for telematics, where a flapping sensor can raise the same alert twice in a minute. Derive the key from the alert so a retry after a timeout reuses it, and a genuinely new alert gets a new one. See deterministic idempotency keys for SMS. To send one text to many dispatchers, POST /v1/messages/bulk takes at most 100 recipients per call.
Delivery status webhooks
A dispatcher needs to know whether the text reached the driver. A message's status is queued, delivered, failed, undelivered or unknown, and you can read it with GET /v1/messages/:id, or receive it by webhook as it changes. Build the receiver to answer fast and process later, and expect events to repeat or arrive out of order. Link a status change to your own alert ID and escalate when a text comes back failed or undelivered. Webhook payloads and signing are in the API quickstart and our posts on delivery report webhooks and out-of-order events.
Rate limits and bursts
A fleet burst, like a storm closing a route for 400 vehicles, sends many alerts at once. Two limits matter. Your API calls have rate limits (check the docs for the current numbers), and the carrier side limits segments per second for each registered campaign. Ready's rule of thumb: a fresh standard campaign with no vetting gets about 1 to 4 segments per second, and higher use-case tiers get roughly 10 to 75. These are approximations, not guarantees.
An example, with stated assumptions: 400 single-segment alerts at an assumed 4 segments per second takes about 100 seconds to drain, while at an assumed 1 per second it takes nearly 7 minutes. Queue sends per customer, so one fleet's storm doesn't delay another's. Our guides on per-tenant fair-share rate limiting and SMS API rate limits cover the pattern.
Quiet hours and alerts that can't wait
This is where text alerts fall short. Ready enforces quiet hours by the recipient's area. An API text is held if the window opens within 24 hours, and otherwise the API answers 409 QUIET_HOURS_BLOCK and the text isn't sent until you send it again. A reply to someone who texted within 24 hours can go out at any hour. So a 3 AM breakdown alert may not arrive as a text. For anything urgent, such as a safety event, pair SMS with a push notification or a phone call. Read handling the quiet hours 409.
A gentle next step
Pick one alert, such as late-stop warnings, and ship it for one fleet customer. Watch delivery webhooks for a week, then add alert types. Pricing is a per-segment rate plus a carrier fee, and registration and each number carry a monthly charge, all on the pricing page. When you're ready to try, sign up.