# Quickstart

> An account, a sandbox key and a working line in a few minutes.

## 1. Create an account

Sign up at **[lines.gatherat.ai/app/signup](/app/signup)** and tell us about your company. You
can build in sandbox straight away: create a sandbox key (`gk_test_`) on the API page.
Sandbox lines are free and never touch the network. Live lines unlock once we approve your
account, usually within one business day.

Use the key as the bearer token below.

## 2. Order a line

```sh
curl -X POST https://lines-api.gatherat.ai/v1/gather/lines/order/create \
  -H "Authorization: Bearer $GATHER_TOKEN" \
  -H "Idempotency-Key: order-2026-10-01-001" \
  -H "Content-Type: application/json" \
  -d '{ "lines": [ { "zip": "33101" } ] }'
```

The order comes back straight away with its lines `pending`.

## 3. Wait for the line to go active

```sh
curl "https://lines-api.gatherat.ai/v1/gather/lines/order/id?id=ord_5Kd9Qw" \
  -H "Authorization: Bearer $GATHER_TOKEN"
```

New numbers are usually ready within minutes. Or skip polling and listen for the
`line.active` webhook.

## 4. Get the eSIM and install it

```sh
curl "https://lines-api.gatherat.ai/v1/gather/lines/esim/id?id=ln_8Hq2cV3k" \
  -H "Authorization: Bearer $GATHER_TOKEN"
```

Enter the `lpa_code` under Settings, Cellular, Add eSIM, or render it as a QR code and scan
it on the device. Then register the number for iMessage.

---

Next: **[Authentication](/docs/authentication)**
