v10

latestSwagger 2.02026-07-13203270.7 KB
Manage purchased phone numbers

Gets the details of the given purchased phone number.

get/phoneNumbers/{phoneNumber}

Path parameters

phoneNumberstring required

The purchased phone number whose details are to be fetched in E.164 format, e.g. +11234567890.

Query parameters

api-versionstring required

Version of API to invoke

Response

Success

idstring required

The id of the phone number, e.g. 11234567890.

phoneNumberstring required

String of the E.164 format of the phone number, e.g. +11234567890.

countryCodestring required

The ISO 3166-2 code of the phone number's country, e.g. US.

phoneNumberType'geographic' | 'tollFree' | 'mobile' required

The phone number's type, e.g. geographic, tollFree, mobile.

assignmentType'person' | 'application' required

The assignment type of the phone number. A phone number can be assigned to a person, or to an application.

purchaseDatestring date-time required

The date and time that the phone number was purchased.