API Reference

Phone Number Magic Inputs

This section contains a list of magic numbers you can use to buy a phone number using your test credentials.

Phone Number

The following magic numbers can be passed in the phone number parameter to test for both success and error cases.

ValueDescription
+15005550000This represents an unavailable phone number.
+15005550001This represents an invalid phone number.
+15005550006This represents a valid and available phone number.
  • Area Code

The following magic numbers can be passed in the Area Code parameter to test for both success and error cases.

ValueDescription
533This represents an area code that doesn't have any available phone numbers.
500This represents an area code that has an available number.