Quickstart
Tested on 28 November 2026 against a local build of the current Simline API, with a simulated test phone that reports sent and delivered like a real one.
Five minutes from nothing to a delivered text. You need an Android phone with a SIM that can send SMS, and a computer with curl, Node 18+ or Python 3.
1. Pair a phone and create a key
Section titled “1. Pair a phone and create a key”-
Sign in at app.simline.dev with your email, Google or GitHub. A workspace is created for you.
-
Install the Simline app on the phone. The app is in Google Play review right now, so it isn’t public yet.
-
In the dashboard open Devices → Pair device and scan the QR code with the app, or type the 6-character code. Codes work once and expire after 5 minutes.
-
Open Developers → API keys → Create key. Name it after the app that will use it (“Production backend”), keep both scopes (
sendandread) and copy the key. It starts withsl_live_and is shown once; Simline stores only a hash.
Keep the key out of your code:
export SIMLINE_API_KEY=sl_live_...2. Send a text
Section titled “2. Send a text”to is an E.164 number: +, the country code, then the number, digits only.
curl https://api.simline.dev/v1/messages \ -H "Authorization: Bearer $SIMLINE_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: order-1042-ready" \ -d '{"to": "+12125550142", "body": "Hi Maya, your order #1042 is ready for pickup."}'// send.mjs — run with: node send.mjs (Node 18+, nothing to install)const res = await fetch("https://api.simline.dev/v1/messages", { method: "POST", headers: { Authorization: `Bearer ${process.env.SIMLINE_API_KEY}`, "Content-Type": "application/json" }, body: JSON.stringify({ to: "+12125550142", body: "Hi Maya, your order #1042 is ready for pickup.", idempotencyKey: "order-1042-ready" })})const message = await res.json()if (!res.ok) throw new Error(`${res.status} ${message.error}: ${message.message}`)console.log(message.id, message.status)# send.py — pip install requestsimport os
import requests
r = requests.post( "https://api.simline.dev/v1/messages", headers={"Authorization": f"Bearer {os.environ['SIMLINE_API_KEY']}"}, json={ "to": "+12125550142", "body": "Hi Maya, your order #1042 is ready for pickup.", "idempotencyKey": "order-1042-ready", }, timeout=15,)message = r.json()if not r.ok: raise RuntimeError(f"{r.status_code} {message['error']}: {message['message']}")print(message["id"], message["status"])The API answers right away with 202 and the stored message:
{ "id": "msg_3cd897665b9349cca40c2abfcd9d469d", "direction": "outbound", "status": "dispatched", "finalStatus": false, "channel": "sms", "contact": "+12125550142", "body": "Hi Maya, your order #1042 is ready for pickup.", "deviceId": "dev_local", "simSlot": 0, "idempotencyKey": "order-1042-ready", ...}dispatched means the phone was online and the text was handed to it. If the phone is asleep you’ll see queued: Simline wakes it and the text goes out a moment later.
3. Follow it until it’s final
Section titled “3. Follow it until it’s final”curl https://api.simline.dev/v1/messages/msg_3cd897665b9349cca40c2abfcd9d469d \ -H "Authorization: Bearer $SIMLINE_API_KEY""status": "delivered","finalStatus": true,"events": [ { "state": "queued", "attempt": 1, "at": "2026-11-28T13:24:53.625Z" }, { "state": "dispatched", "attempt": 1, "at": "2026-11-28T13:24:53.631Z" }, { "state": "accepted", "attempt": 1, "at": "2026-11-28T13:24:53.641Z" }, { "state": "sent", "attempt": 1, "at": "2026-11-28T13:24:53.931Z", "parts": 1 }, { "state": "delivered", "attempt": 1, "at": "2026-11-28T13:24:54.231Z", "parts": 1 }]Stop when finalStatus is true; the status won’t change after that. Not every network sends delivery reports, so a text can end at sent. Statuses and finalStatus explains each state.
4. Read the reply
Section titled “4. Read the reply”When the person answers, the phone forwards the text to your workspace. List conversations, then read one thread (URL-encode the + as %2B):
curl https://api.simline.dev/v1/conversations \ -H "Authorization: Bearer $SIMLINE_API_KEY"
curl https://api.simline.dev/v1/conversations/%2B12125550142 \ -H "Authorization: Bearer $SIMLINE_API_KEY"- Sending texts: pick the SIM, retry safely, handle limits.
- Webhooks: get replies and statuses pushed to you, signed.
- AI agents & MCP: let Claude or Cursor text people, with your approval.
- API reference: every endpoint with curl, Node and Python.