Skip to content

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. Sign in at app.simline.dev with your email, Google or GitHub. A workspace is created for you.

  2. Install the Simline app on the phone. The app is in Google Play review right now, so it isn’t public yet.

  3. 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.

  4. Open Developers → API keys → Create key. Name it after the app that will use it (“Production backend”), keep both scopes (send and read) and copy the key. It starts with sl_live_ and is shown once; Simline stores only a hash.

Keep the key out of your code:

Terminal window
export SIMLINE_API_KEY=sl_live_...

to is an E.164 number: +, the country code, then the number, digits only.

Terminal window
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."}'

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.

Terminal window
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.

When the person answers, the phone forwards the text to your workspace. List conversations, then read one thread (URL-encode the + as %2B):

Terminal window
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.