# US phone lines for iMessage AI agents

> How to give every agent or user its own real US number on iMessage, ordered by API.

An iMessage agent needs a number people can text, and that number has to be registered for iMessage
on an Apple device. Platforms that run agents for many users usually want a **dedicated line per user
or per agent**, so conversations never share a number and a problem on one line stays on that line.

## What the setup looks like

| Layer | What it does | Who provides it |
| --- | --- | --- |
| Agent | Reads and writes messages, runs your product | You |
| Relay | Moves messages between the agent and Messages on the device | You, or an open-source relay |
| Device | An iPhone or Mac signed in to an Apple ID, holding the line | You, or a device-hosting partner |
| Line | A real US mobile number and eSIM on a carrier network | Gather Lines |

Gather Lines is the bottom layer. You order lines by API, install each eSIM on a device you run, and
register the number for iMessage. We do not run the devices or touch your messages.

## Why a dedicated carrier line per agent

- **It registers.** iMessage registers phone numbers that have a SIM on a cellular network. VoIP numbers
  cannot. See [Carrier lines vs VoIP](/docs/carrier-vs-voip).
- **Isolation.** A shared pool of numbers can send one user's replies to another user's agent if the
  routing slips. One line per user removes that whole class of bug.
- **Reputation stays per line.** If one number is reported or flagged, the rest of your fleet is untouched.
- **Users keep a stable number.** The number stays with the line until you release it, so a user's
  contact card for their agent keeps working.

## Ordering lines for agents

```http
POST /v1/gather/lines/order/create
Authorization: Bearer gk_live_...
Idempotency-Key: 7f9c2b1e-3a5d-4c8e-9b0f-2d6e4a1c8b73

{ "lines": [ { "zip": "94103" }, { "zip": "10001" } ] }
```

Each line goes `active` within minutes with its number and an eSIM activation code, and you get a
`line.active` webhook. When the eSIM is downloaded you get `esim.installed`. Release a line when a user
leaves and billing stops. See the [Quickstart](/docs/quickstart) and [Lines](/docs/numbers).

## Cost at scale

$10 per line per month, with 1GB of data, 500 minutes and 500 SMS, billed monthly with no setup fee
and no long-term contract. Volume commitments lower the line fee. Hosted iMessage line services
typically charge $150 to $250 or more per line a month because they also run the devices; with Gather
Lines you run the devices and pay for the line. See [Pricing](/docs/pricing).

## Rules that keep lines healthy

Agents should text like people: replies to users who wrote first, normal volumes, no cold blasts.
Bulk and campaign messaging are not allowed, and lines with unusual patterns are reviewed. Read
[Acceptable use](/docs/acceptable-use) before you launch.

**[Get started](/app/signup)**: create an account, build in sandbox today, and order your first live line for $10. Questions? Read the [FAQ](/docs/faq).
