Dual-SIM phones: pick which number every text comes from
One phone, two numbers, no mix-ups. Label each SIM, set a default sender, switch sending off for your personal line, and choose the SIM per text by id or by number.
Plenty of people run a small business from the same phone they use for everything else: one SIM for family and friends, a second, cheaper one for the shop. That’s a great setup until a customer reminder goes out from your personal number, and now a client has your private line.
Simline knows about both SIMs and lets you decide, per text or once for good, which number speaks. This post covers labels and numbers, the default sender, turning sending off for one SIM, choosing the SIM from code, and how replies stay on the right line.
Tested on 28 November 2026 against Simline’s API (a local build of the current code) with a simulated dual-SIM test phone. Every from form below was sent and checked for the slot it used.
What Simline can see about your SIMs
When the phone connects, the app reports each SIM that is ready: its slot, its carrier name, whether it’s the phone’s default SMS SIM, and on Android 10 and later a stable subscription id. That’s all, and it’s read without any extra permission.
What the app can’t see is the SIM’s own phone number. Android only gives that to apps that hold a phone-number permission, and Simline deliberately doesn’t ask for it. Fewer permissions is part of keeping the app honest about what it touches. So you tell Simline the numbers yourself, once.
Label each SIM and add its number
Open Devices, then your phone. Under SIMs you’ll see one card per slot, for example “SIM 1 · Orange F · phone’s default SMS SIM”. For each one:
- Label: something you’ll recognise in a hurry, like “Personal” or “Shop”.
- Phone number: with the country code. You can type it with spaces, like
+33 6 00 00 00 02; Simline stores it as+33600000002. A number without the country code is refused, and each number can belong to only one SIM in the workspace.
Labels show up everywhere a SIM does: the composer’s sender picker, the conversation list, Telegram, and list_devices for AI agents.
If you take a SIM out, its card moves to Not in the phone and keeps its settings, so they come back when the card does.
Make one SIM the default sender
The phone’s own default SMS SIM starts as Simline’s default sender. To change it, press Make default on the other SIM’s card. There’s one default sender per phone, and it’s what Simline uses when a text doesn’t say which SIM, including from: "auto" and from: "dev_…".
Turn sending off for your personal line
Each SIM card has a switch, Send from this SIM. Off means no message goes out on that SIM, from anywhere: the API, the dashboard, AI agents, auto-replies or Telegram. Receiving still works, so texts to that number still reach your workspace.
It’s enforced in two places. The API refuses to send on that SIM, and as a safety net the phone itself refuses a send for a switched-off SIM and reports it failed with SIM_DISABLED, without touching the radio.
When we switched off “Personal” and tried to send from it, the API answered:
{"error": "bad_request", "message": "from: sending is turned off for SIM +33600000001 (sim_ZpQ6n8L6vLf52821DadJoQ)"}
Choose the SIM from code
POST /v1/messages takes an optional from. Every form below was tested against our dual-SIM test phone with “Personal” in slot 0 and “Shop” in slot 1 as the default sender:
from |
Sent from |
|---|---|
left out, or "auto" |
Shop (an online phone’s default sender) |
"dev_local" |
Shop (that phone’s default sender) |
"+33 6 00 00 00 01" |
Personal (matched by number, any formatting) |
"+33600000002" |
Shop |
"sim_ZpQ6n8L6vLf52821DadJoQ" |
Personal (by SIM id) |
{"deviceId": "dev_local", "simSlot": 1} |
Shop (slots count from 0) |
Sending by number is the most readable in code:
curl https://api.simline.dev/v1/messages \
-H "Authorization: Bearer $SIMLINE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"to": "+33600000042", "body": "Votre commande est prête.", "from": "+33600000002"}'
A from that doesn’t match anything is a 400 (from: unknown SIM …), never a silent fallback to another line. That’s the behaviour you want: a typo should fail loudly, not text a customer from your personal number.
To find a SIM’s id (sim_…), open Developers → Send your first message and pick the SIM under From: the example code fills it in. AI agents see the same ids in their list_devices tool. An id stays the same when the card is taken out and put back.
Replies go out from the SIM that received the text
If a customer texts your shop number, the answer should come from the shop number. Simline does this for you in the places where it’s replying on your behalf:
- The dashboard: a conversation’s composer starts on the SIM the conversation last used.
- Telegram: replying to a forwarded text sends the SMS from the same phone and SIM that received it.
- The AI auto-responder: it answers from the SIM that got the text.
From the API, "auto" means the default sender, not “the SIM they wrote to”. Every inbound message carries deviceId and simSlot, so reply on the same line by passing them back:
const API = "https://api.simline.dev"
const headers = { Authorization: `Bearer ${process.env.SIMLINE_API_KEY}`, "Content-Type": "application/json" }
// Reply on the same SIM the customer last wrote to.
async function replyOnSameSim(contact, body) {
const thread = await fetch(`${API}/v1/conversations/${encodeURIComponent(contact)}?limit=20`, { headers }).then((r) => r.json())
const lastInbound = thread.messages.find((m) => m.direction === "inbound") // newest first
const from = lastInbound ? { deviceId: lastInbound.deviceId, simSlot: lastInbound.simSlot } : "auto"
const res = await fetch(`${API}/v1/messages`, { method: "POST", headers, body: JSON.stringify({ to: contact, body, from }) })
return res.json()
}
const sent = await replyOnSameSim("+33600000042", "Oui, elle sort du four à 11h. A tout à l'heure !")
console.log(sent.id, sent.status, "SIM slot", sent.simSlot)
In our test the customer had written to slot 0 while the default sender was slot 1; the reply went out on slot 0. If you receive texts by webhook, data.deviceId and data.simSlot are right there in the message.received payload, so you don’t even need the extra request.
AI agents and SIMs
An agent’s policy can name the phones and SIMs it may use. That limit is hard in every approval mode: ask for another SIM and the text is refused, not queued. If the agent leaves from out, it gets the first SIM you allowed. Setting up agents and approvals covers the rest.
What it can’t do
- Read the SIM’s number for you. You type it once.
- Pick the SIM on Android 8 or 9. There’s no permission-free way to map slots there, so the phone sends from its default SMS SIM. Change that default in the phone’s settings if you need the other one.
- Send from a SIM that’s out of the phone. It’s a
400until the card is back. - Use eSIM profiles that aren’t active. Simline sees the SIMs Android reports as ready.
Two numbers on one phone, each with its own job, is one of the cheapest ways to keep business and personal apart. If the business line is mostly answering questions, the auto-responder can take the first pass, and it always answers from the SIM that received the text.
FAQ
- Why do I have to type my SIM's phone number?
- Android only shares a SIM's own number with apps that hold an extra phone-number permission. Simline doesn't ask for it, so you type each number once in the dashboard.
- If I turn sending off for a SIM, do I still receive its texts?
- Yes. Turning sending off only stops outbound texts on that SIM. Texts it receives are still forwarded to your workspace.
- What happens when I take a SIM out?
- Simline marks it as not in the phone and keeps its label, number and settings, so they come back when you put the card back.
- Does this work on older Android versions?
- On Android 8 and 9 the app can only send from the phone's default SMS SIM. Android 10 and later can use either slot.