Besides ordering a line, you can take a number we already hold in stock. You see the actual numbers before you choose, the line is live as soon as you claim it, and there is no order to wait for. Each number is a real mobile line on a second US network, with its own eSIM.
NOTE Numbers in stock are in beta. Ask us to turn them on for your account. Which area codes are in stock changes as numbers are claimed, so we can't promise a particular one.
Every call needs a live key (gk_live_…). Sandbox keys and accounts still in review get
403 live_customer_required. Add a billing card in the portal (Billing) before you claim: the
first month is charged to it when you claim a number. Numbers are digits only, with no + (14125550123).
List the numbers you can claim
GET /v1/gather/lines/number/catalog?is_assigned=false
Returns the numbers open to your account, newest first, as data and has_more. Page with
limit (up to 100) and starting_after (the last id you got). Filter with number= for one
number, or is_assigned=true to list the ones you have already claimed. Add customer_ref= to
see only the ones you claimed for one of your end users.
{
"data": [
{
"id": "6720a9f3c1d2e4b5a6f70812",
"number": "14125550123",
"is_assigned": false,
"carrier_status": "active",
"carrier_checked_at": "2026-10-27T08:00:00Z"
}
],
"has_more": false
}
Numbers someone else has claimed never show up. If we set some numbers aside for your account,
they show up here for you only, with reserved_for set.
Claim a number
POST /v1/gather/lines/number/assign?number=14125550123
Content-Type: application/json
{ "customer_ref": "user_8812" }
customer_ref is your own reference for who the number is for, for example your end user's ID
(up to 200 characters). The number becomes your line at once: it comes back with line_id, shows
up in number/list, and you get a line.active webhook.
{
"number": "14125550123",
"is_assigned": true,
"customer_ref": "user_8812",
"assigned_at": "2026-10-27T08:01:47Z",
"line_id": "ln_Sp6mgsLjUV3PlIJP"
}
Claiming is safe to retry: the same number with the same customer_ref returns the same claim and
the same line, even if two retries race. A different number with the same customer_ref claims a
second number, so pick the number once, store it, and retry with that number. A number that is
already taken, or set aside for another account, returns 409 number_unavailable.
With no billing card on the account, a claim returns 402 billing_hold. If the card is declined,
it returns 402 payment_declined and the number goes back to stock. Add or update the card in the
portal and claim again.
Idempotency-Key is not needed here and is ignored.
Install the eSIM
GET /v1/gather/lines/esim/id?id={line_id}
The eSIM is read live from the network each time, so call it when you need it rather than storing it.
{
"number": "14125550123",
"iccid": "8901260000000000000",
"qr_url": "https://…",
"lpa_code": "LPA:1$smdp.example.net$K2-4Z7Q-19XVTP",
"smdp_address": "smdp.example.net",
"matching_id": "K2-4Z7Q-19XVTP",
"status": ""
}
Show qr_url as a QR code, or use lpa_code for one-tap install on the phone. You can also read
it by number: GET /v1/gather/lines/number/esim?number=14125550123&customer_ref=user_8812, which
needs the same customer_ref you claimed with.
Caution. Treat the
lpa_codelike a password. Anyone who has it can install the line.
For these numbers status is always empty for now: we don't detect the install yet, so don't hide
the QR code based on it.
Check a number
GET /v1/gather/lines/number/status?number=14125550123
POST /v1/gather/lines/number/refresh?number=14125550123
status returns the number as we last saw it. refresh asks the network again and saves the
result. Another account's number returns 404, as if it did not exist.
Reading the eSIM, refresh and releasing share one request per second per key. Over that you get
429 rate_limited: wait a second and retry.
Release a number
DELETE /v1/gather/lines/number/id?id={line_id}
Releases the line at once: 200 with state released, and a line.released webhook. The number
is cancelled with the network straight away and its eSIM stops working. It does not come back to
stock for anyone else. Asking again returns the released line.
WARNING Only release a number when its user is really gone. If you release one by mistake, tell us within 30 days and we can usually restore it.
Send and receive texts
Numbers in stock can send and receive SMS by API, and you get a message.received webhook for
each text that comes in. See Messaging.
Pricing
$10 per number per month, from the day you claim it until you release it. The first month is charged to your billing card at claim, then monthly from the claim date. See Pricing.