Skip to main content
GET
/
assistants
/
v1
/
numbers
/
purchase-list
List Purchasable Numbers
curl --request GET \
  --url https://api-prod.interactly.ai/assistants/v1/numbers/purchase-list \
  --header 'Authorization: Bearer <token>'
[
  {
    "number": "<string>",
    "countryCode": "<string>",
    "stateId": "<string>",
    "cityName": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Retrieve your API Key from Dashboard API Keys Section.

Query Parameters

countryCode
string

Country code of the number to purchase. Ex: USA

Search for numbers by area code, example: 254

Response

200 - application/json

Successfully retrieved the list of purchasable numbers.

number
string

Phone number of the purchasable number

countryCode
string

Country code of the purchasable number

stateId
string

State ID of the purchasable number

cityName
string

City name of the purchasable number