PhoneNumbers

Check phone number purchase availability

Changed on

Checks whether a phone number can be purchased for the current organization before creating or assigning it.

post/phone-numbers/is-available-for-purchase

Request

  • Base URL
    https://api.leadping.ai
  • Auth
    HTTP bearer

Request body

PhoneNumberAvailabilityRequest required

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.

PhoneNumberAvailabilityResponse required

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, number double nullable

Lead price or transaction price supplied to the Leadping API.

currency, string nullable

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

location, PhoneNumberLocation nullable

Public Leadping API schema for phone number location data.

Changes

    • info

      added the optional property allOf[#/components/schemas/PhoneNumberAvailabilityResponse]/location/allOf[#/components/schemas/PhoneNumberLocation]/resolvedAt to the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status