What actually happens when Simline sends a text
From one API call to a delivery report, through a phone in someone's drawer. The six states a message moves through, and why "sent" isn't good enough.
Simline sends text messages from an Android phone you already own. Your code, your website or an AI agent asks for a text; the phone sends it from its SIM, on your carrier plan. That sounds simple until the phone is asleep in a drawer, on a train with one bar of signal, or rebooting for an update.
This post walks through what happens to one message, and why we report six states instead of the usual two.
One phone, one connection
Every paired phone gets its own small, always-available process on Cloudflare’s network: a Durable Object. It holds that phone’s queue and its live WebSocket connection, and it is the only thing allowed to talk to the phone.
That matters because a phone is not a server. It drops off networks, Android kills background apps, and batteries die. With one coordinator per phone, there is exactly one place that knows what the phone has and hasn’t confirmed, so nothing gets sent twice and nothing gets lost when the connection blinks.
The six states
queued → dispatched → accepted → sent → delivered
↘ failed
queued. The API stored your message and answered right away. If the phone is offline, this is where messages wait, and the status tells you so instead of pretending.
dispatched. The phone’s coordinator wrote the message to the phone’s connection. If the phone was asleep, we woke it first with a push message, so it doesn’t need to hold a connection open all day.
accepted. The phone confirmed it saved the message to its own queue. From here, a crash or reboot doesn’t lose it: the app picks up where it left off.
sent. Every part of the message left the phone’s radio. Long messages go out as several SMS parts; we report one status for the whole message, never one per part.
delivered. The carrier’s delivery report came back, for every part, saying it reached the other phone. Not “probably”. If the carrier rejected it, that’s failed, with the reason.
failed. Something stopped it: no signal, a SIM that can’t send, a carrier rejection, or the message expired before the phone came back online. You get the reason, and a retry is recorded as a new attempt on the same message rather than a new message.
Why not just “sent”?
Most SMS gateways that run on a phone report “sent” as soon as Android accepts the request, and some report “delivered” for anything that wasn’t an error. That’s fine until a customer says they never got the code, and your logs say they did.
Each Simline state is set by the one party that actually knows: the API, the coordinator, or the phone reporting what the radio and carrier told it. Everything the phone reports is idempotent, so a status that arrives twice after a reconnect is applied once.
What the phone never does
The app doesn’t ask for permission to read your SMS inbox, and it can’t. It sees two things: messages you send through Simline, and new texts that arrive after you connect the phone, which it forwards to your workspace. Before Android asks for SMS access, the app shows you exactly that, in plain words.
What’s next
The REST API and webhooks are the first things you’ll be able to build on, followed by an MCP server so AI agents can text people from your number, with your approval. If that sounds useful, get an invite.