# Buy phone numbers in bulk

Source: https://jointextkit.com/docs/bulk-numbers
Index: https://jointextkit.com/llms.txt

Buy up to 50 US or Canada numbers in one API call, then tag, pool, export,
or release them by the hundred. Try it with a test key first: test keys mint
sandbox numbers, free.

## Buy up to 50 at once

```bash
curl -X POST https://api.jointextkit.com/v1/numbers/bulk-purchase \
  -H "Authorization: Bearer tk_sk_test_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "area_code": "415", "quantity": 10, "tags": ["spring"] }'
```

- `area_code` is a 3-digit US or Canada area code. `quantity` is 1 to 50.
- Add `pool_id` to put the new numbers straight into a
  [sender pool](/docs/numbers#sender-pools).
- Your number limit is checked for the whole `quantity` first. If it
  doesn't fit, you get `429 quota_exceeded` saying how many more you can
  add, and nothing is bought.
- A number the carrier refuses is listed in `failed` and replaced from
  spare inventory. `shortfall` is how many the area code couldn't supply.
- Each number is $0.95 a month, charged when you buy it and on the
  same day every month after.

Request and response fields: [API reference](/docs/api/numbers/bulk-purchase).

## Tag, pool, or release up to 1,000 at once

`POST /v1/numbers/bulk` applies one action to up to 1,000 numbers:

```bash
curl -X POST https://api.jointextkit.com/v1/numbers/bulk \
  -H "Authorization: Bearer tk_sk_test_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "action": "add_to_pool", "pool_id": "pool_a1B2c3D4e5F6", "ids": ["+15005550132", "+15005550133"] }'
```

Actions: `add_tags`, `remove_tags`, `set_label`, `add_to_pool`,
`remove_from_pool`, and `release`. You get one result per id, so a batch
where 3 of 143 ids were wrong tells you which 3.

Release is guarded: up to 100 per call, and `confirm` must be
`"RELEASE <number of ids sent>"`. A script that built the wrong list fails
before anything is disconnected.

## Send from many numbers

Send with `"from": "pool_..."` and TextKit picks a member of the pool, the
same one for each recipient every time, so replies stay in one thread. Set
`"routing": "local"` and recipients get a number in their own area code when
the pool has one.

Live numbers send through a registration. One registration holds up to 49
numbers, and they share its pace (240 messages a minute, 75 for a
low-volume registration). Link numbers bought in bulk to a registration
afterwards: [attach a registration](/docs/api/numbers/attach-registration).

## Export

`GET /v1/numbers/export` returns a CSV of your numbers with their labels,
tags, and pools. It takes the same filters as the list
(`?tag=spring&pool=pool_...`).

## Don't replace filtered numbers

Carriers call swapping a filtered number for a fresh one "number cycling"
and fine it. If you release a live number carriers were filtering and buy
another within 7 days, new purchases are held until our team reviews the
account. A new number doesn't fix what got the old one filtered: look at
the wording, the opt-in, and the volume.

## From an agent

The [MCP server](/docs/mcp) has `bulk_purchase_numbers` and
`bulk_update_numbers`, so Claude, Cursor, or any agent can do all of the above
in a sentence. More on numbers: [Numbers](/docs/numbers).
