SautiDesk
SautiDesk API
Workspace configuration

List numbers available to buy

GET
/v1/desk/numbers/available

Lists the phone numbers the workspace can buy, priced in its wallet currency, newest first, 100 at a time. The price shown is the price charged, with VAT where it applies. Numbers held by another workspace are left out. Filter by country or search.

Requires: desk.admin scope, workspace owner or admin.

Authorization

bearerAuth
AuthorizationBearer <token>

A SautiDesk API key. An owner or admin makes it under Settings in SautiDesk for a named person and picks the scopes. The key is shown once. Send it as Authorization: Bearer <key>. It acts as that person and as nobody else.

In: header

Query Parameters

country?string

Only numbers in this country, such as KE. A country whose currency is not the wallet's returns nothing.

search?string

Digits the number contains. Spaces, dashes and a leading plus or zero are ignored.

limit?integer

Page size: 100 by default, and 100 at most.

cursor?string

next_cursor from the previous page.

Response

OK

Example

{  "data": [    {      "inventory_id": "2dfe9c17-9ac4-4b9f-998b-12b936732f05",      "e164": "+254712345678",      "country": "KE",      "capabilities": [        "example"      ],      "monthly_price_minor": 3000,      "monthly_vat_minor": 1,      "monthly_total_minor": 1,      "vat_rate_bps": 1,      "first_charge_net_minor": 1,      "first_charge_vat_minor": 1,      "first_charge_total_minor": 1,      "vat_applied": false,      "currency": "KES",      "inbound_per_min_minor": 1,      "outbound_per_min_minor": 1    }  ],  "next_cursor": "eyJvIjoyNX0",  "has_more": false}
FieldTypeDescription
datarequiredobject[]
inventory_idrequiredstring (uuid)
e164requiredstring
countryrequiredstring
capabilitiesrequiredstring[]
monthly_price_minorrequiredinteger
monthly_vat_minorinteger
monthly_total_minorinteger
vat_rate_bpsinteger
first_charge_net_minorrequiredinteger
first_charge_vat_minorrequiredinteger
first_charge_total_minorrequiredinteger
vat_appliedrequiredboolean
currencyrequiredstringThe currency code of the money in this report, for example KES. Write money figures with it. Left out when the report has no money.
inbound_per_min_minorrequiredinteger
outbound_per_min_minorrequiredinteger
next_cursorrequiredstring | null
has_morerequiredboolean
curl -X GET "https://api.sautidesk.com/v1/desk/numbers/available"