GET
/
v1
/
accounts
/
{accountId}
/
availablephonenumbers
Check all available phone numbers
curl --request GET \
  --url https://api.sakari.io/v1/accounts/{accountId}/availablephonenumbers \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "country": "<string>",
      "number": "<string>",
      "price": "<string>",
      "type": "<string>",
      "features": [
        "<string>"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

accountId
string
required

Account to apply operations to

Query Parameters

country
string

Country in question

type
string

Phone number type

postalCode
string

Postal code for Number

features
string

Features for phone number

contains
string

What should be in the string

areaCode
string

Area Code for phone number

Response

200
application/json

successful operation

The response is of type object.