Reference
Remy Reference/Admin SDK/Voice/Buy a phone number

Buy a phone number

Buys and attaches a dedicated phone number, billed at $1/month.
admin.voice.numbersBuy({ phoneNumber })

Buys a number from a prior search and attaches it as the app's dedicated line, which is both the caller ID for voice.call and the inbound number. It bills one dollar a month to the workspace starting immediately, so confirm with the owner before running it. Status is usually pending for a few seconds; poll numbers list until it is active.

Parameters
<e164>
string
RequiredThe E.164 US number to buy, from a prior search result.
--locality
string
City label (display metadata only).
--state
string
State or region label (display metadata only).
--monthly-cost
string
Carrier monthly cost string (display metadata only).
CLI
remy-admin voice numbers buy +13105551234 --locality "Los Angeles" --state CA