Skip to main content
POST
Check phone number purchase availability

Authorizations

Authorization
string
header
required

Authorization header using the Bearer scheme. Accepted values are Leadping user JWT access tokens and WorkOS organization API keys beginning with sk_.

Body

The phone number availability request.

Defines the phone number and capability requirements Leadping should verify before purchase or assignment.

phoneNumber
string
required

Phone number to check for availability, formatted for provider lookup.

Response

Returns the phone number availability response.

Reports whether a phone number is available for purchase or assignment and explains any blocking condition.

phoneNumber
string

Phone number used by this phone number availability result for calls, SMS, lookup, or routing.

isAvailable
boolean

Indicates whether this phone number is available for purchase or assignment.

price
null | number<double>

Lead price or transaction price supplied to the Leadping API.

currency
null | string

ISO currency code used for the monetary amounts in this phone number availability result.

location
object | null

Geographic location metadata for the phone number, lead, or lookup result.