A text can arrive after a phone reconnects even though the sender submitted it earlier.
The message center saves a text before trying to deliver it to the phone.
The network's acceptance does not establish that the phone received the text. A switched-off or unreachable phone can leave a message waiting. Reconnecting the phone makes another delivery attempt possible. The message must remain eligible for that attempt.
The 3GPP specification 23.040 describes the center's role in SMS.
The network can make further delivery attempts while the message's delivery window remains open. That window is called its validity period.
The SMS standard lets senders supply a validity period. Your provider decides whether you can set it through its API.
Delivery can end in expiry when that window closes. An expiry report does not imply that the initial send request failed.
For a time-sensitive flow, the application's own deadline still needs enforcement. If a passcode is valid for ten minutes and arrives after four hours, your server must reject it. A late text must not extend the lifetime of the action it describes.
Your application can reach a message center through a messaging provider, rather than managing the carrier connection itself.
Providers use SMPP to pass texts to message centers, directly or through other routing services. The SMPP reference describes these connections.
Your provider can acknowledge a request before the next network service accepts it. The message center can then accept the text before the phone receives it. Each acknowledgment describes one stage of the journey.
Accepted but not delivered explains how those stages appear in an application.
You can inspect carrier handoff and reported delivery without connecting to a message center yourself.
The message response's sent_at records when Bird hands the message to the carrier. delivered_at records confirmed delivery. Both fields contain a timestamp or null. A missing delivery time does not mean the phone rejected the text.
You can limit how long a message waits with validity_period, from 60 to 172800 seconds (two days). Bird does not hand the message to the carrier after that deadline. Where the route supports it, Bird also passes the remaining time to the carrier. The message response reports the validity_period that applied.
Bird emits sms.expired when the carrier reports expiry. A buffered receipt, meaning the carrier holds the text, produces no public status change. Delivery receipts explains which network reports reach your application.
Your application needs to handle delivery as a later event with an outcome separate from submission.
Keep a pending result distinct from a failure. Enforce deadlines for passcodes and other time-sensitive actions in your application. Use a delivery receipt as the network's report of delivery. It does not prove that anyone read the text.