Skip to content
Phone Numbers

GEThttps://core-api.heysadie.ai/phone-numbers/available

country locality areaCode success data phoneNumbers phoneNumber region postalCode isoCountry total metadata timestamp version path error code message details field

List available numbers

Returns a list of phone numbers available for purchase. These numbers come directly from our external phone number provider and are not yet assigned to your account. You can filter the results by: - `country` (required): Country code such as US, AU, NZ, CA, GB, CH. Note: IT (Italy) may not be available for searches yet. - `locality` (optional): City or region name like Melbourne, Sydney, Perth, etc. - `areaCode` (optional): Area code that the phone number should start with (e.g., '438' for numbers starting with +1 438..). Use this endpoint when you want to show your users a list of numbers they can choose to register for their assistant. ⚠️ This does not return numbers you already own — use `GET /phone-numbers` for that.

Try it in the API Explorer

Example request

Terminal
curl "https://core-api.heysadie.ai/phone-numbers/available?country=string" \
  -H "Authorization: ApiKey YOUR_API_KEY"

Authentication

Authenticate with an API key in the Authorization header using the ApiKey scheme — see Authentication for how keys work and where to get them.

Authorizationstringrequired

API key in the ApiKey scheme: ApiKey YOUR_API_KEY. Tenant keys authorize their own tenant; organization keys can act on any tenant in the organization.

X-Tenant-Idstring (uuid)optional

Required when authenticating with an organization key — selects the tenant the request acts on. Omit with tenant keys.

Request

Query parameters

countrystringrequired

Country code (e.g., US, AU, NZ, CA, GB, CH). Note: IT may not be available yet.

localitystringoptional

Optional locality name (e.g., Melbourne, Perth)

areaCodestringoptional

Optional area code that the phone number should start with (e.g., '438' for numbers starting with +1 438..)

Responses

200
successbooleanrequired
dataobjectoptional
Show 2 child properties
phoneNumbersobject[]required

Available phone numbers for purchase

Show 5 item properties
phoneNumberstring | nullrequired
localitystring | nullrequired
regionstring | nullrequired
postalCodestring | nullrequired
isoCountrystring | nullrequired
totalnumberrequired

Total number of available phone numbers returned

metadataobjectoptional
Show 3 child properties
timestampstringrequired
versionstringrequired
pathstringoptional
400
successbooleanrequired
errorobjectoptional
Show 3 child properties
codeenumrequired
Allowed values:"VALIDATION_ERROR"
messagestringrequired
detailsobject[]optional
Show 2 item properties
fieldstringrequired
messagestringrequired
metadataobjectoptional
Show 3 child properties
timestampstringrequired
versionstringrequired
pathstringoptional
401
successbooleanrequired
errorobjectoptional
Show 2 child properties
codeenumrequired
Allowed values:"UNAUTHORIZED"
messagestringrequired
metadataobjectoptional
Show 3 child properties
timestampstringrequired
versionstringrequired
pathstringoptional
403
successbooleanrequired
errorobjectoptional
Show 2 child properties
codeenumrequired
Allowed values:"FORBIDDEN"
messagestringrequired
metadataobjectoptional
Show 3 child properties
timestampstringrequired
versionstringrequired
pathstringoptional
404
successbooleanrequired
errorobjectoptional
Show 2 child properties
codeenumrequired
Allowed values:"RESOURCE_NOT_FOUND"
messagestringrequired
metadataobjectoptional
Show 3 child properties
timestampstringrequired
versionstringrequired
pathstringoptional
500
successbooleanrequired
errorobjectoptional
Show 2 child properties
codeenumrequired
Allowed values:"INTERNAL_SERVER_ERROR"
messagestringrequired
metadataobjectoptional
Show 3 child properties
timestampstringrequired
versionstringrequired
pathstringoptional