Gather Gather Lines Sign in Get started

Guides

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

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 and Lines.

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.

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 before you launch.

Get started: create an account, build in sandbox today, and order your first live line for $10. Questions? Read the FAQ.

1# US phone lines for iMessage AI agents
2
3> How to give every agent or user its own real US number on iMessage, ordered by API.
4
5An iMessage agent needs a number people can text, and that number has to be registered for iMessage
6on an Apple device. Platforms that run agents for many users usually want a **dedicated line per user
7or per agent**, so conversations never share a number and a problem on one line stays on that line.
8
9## What the setup looks like
10
11| Layer | What it does | Who provides it |
12| --- | --- | --- |
13| Agent | Reads and writes messages, runs your product | You |
14| Relay | Moves messages between the agent and Messages on the device | You, or an open-source relay |
15| Device | An iPhone or Mac signed in to an Apple ID, holding the line | You, or a device-hosting partner |
16| Line | A real US mobile number and eSIM on a carrier network | Gather Lines |
17
18Gather Lines is the bottom layer. You order lines by API, install each eSIM on a device you run, and
19register the number for iMessage. We do not run the devices or touch your messages.
20
21## Why a dedicated carrier line per agent
22
23- **It registers.** iMessage registers phone numbers that have a SIM on a cellular network. VoIP numbers
24 cannot. See [Carrier lines vs VoIP](/docs/carrier-vs-voip).
25- **Isolation.** A shared pool of numbers can send one user's replies to another user's agent if the
26 routing slips. One line per user removes that whole class of bug.
27- **Reputation stays per line.** If one number is reported or flagged, the rest of your fleet is untouched.
28- **Users keep a stable number.** The number stays with the line until you release it, so a user's
29 contact card for their agent keeps working.
30
31## Ordering lines for agents
32
33```http
34POST /v1/gather/lines/order/create
35Authorization: Bearer gk_live_...
36Idempotency-Key: 7f9c2b1e-3a5d-4c8e-9b0f-2d6e4a1c8b73
37
38{ "lines": [ { "zip": "94103" }, { "zip": "10001" } ] }
39```
40
41Each line goes `active` within minutes with its number and an eSIM activation code, and you get a
42`line.active` webhook. When the eSIM is downloaded you get `esim.installed`. Release a line when a user
43leaves and billing stops. See the [Quickstart](/docs/quickstart) and [Lines](/docs/numbers).
44
45## Cost at scale
46
47$10 per line per month, with 1GB of data, 500 minutes and 500 SMS, billed monthly with no setup fee
48and no long-term contract. Volume commitments lower the line fee. Hosted iMessage line services
49typically charge $150 to $250 or more per line a month because they also run the devices; with Gather
50Lines you run the devices and pay for the line. See [Pricing](/docs/pricing).
51
52## Rules that keep lines healthy
53
54Agents should text like people: replies to users who wrote first, normal volumes, no cold blasts.
55Bulk and campaign messaging are not allowed, and lines with unusual patterns are reviewed. Read
56[Acceptable use](/docs/acceptable-use) before you launch.
57
58**[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).
59
$ curl -s https://lines.gatherat.ai/docs/imessage-agents.md
200 OK · text/markdown; charset=utf-8 · 3,052 bytes
# 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 | …