Skip to content
VaakyoDocs
Navigation
Open console →

Phone numbers

Search Numbers

GET/api/v1/numbers/search

Numbers you can rent, with their monthly and setup price in the workspace’s currency (paise or cents; INR at today’s rate).

Authorization

A signed-in member with the numbers.manage permission (Authorization: Bearer session token). API keys can’t do this.

Authorization: Bearernumbers.manage

Query parameters

country_isostringdefault: "IN"

2 to 2 characters

typeenum<string>

One of:fixedmobiletollfreelocal

patternstring

at most 20 characters · matches ^[0-9]*$

regionstring

at most 60 characters

offsetintegerdefault: 0

0 to 1000

timezonestringdefault: "Asia/Kolkata"

IANA time zone for every timestamp in the response (at, date, timestamp and *_at fields), as ISO 8601 with the offset. The X-Timezone header works too; the zone used comes back in the X-Timezone response header. An unknown zone is a 400.

Response

200Success.

No body.

401No credentials, or they are invalid or revoked.
detailstring

What went wrong, in plain words.

403Your role (or an API key) lacks the permission.
detailstring

What went wrong, in plain words.

422Validation Error
detailobject[]
Show item attributes
locstring | integer[]
msgstring
typestring
Esc