Create address
POST
Create a regulatory address, to use as the value of an address requirement when buying a phone number. It is registered for review when it is created, with status pending.
Authorization
AuthorizationheaderrequiredBearer YOUR_API_KEY. Create a key in the dashboard.
Body
application/json
firstNamestringrequiredFirst name of the person the address is registered to.
Limitsmin length 1 · max length 100lastNamestringrequiredLast name of the person the address is registered to.
Limitsmin length 1 · max length 100businessNamestringBusiness name, when the address belongs to a business. Defaults to the person's full name.
Limitsmax length 200streetAddressstringrequiredLimitsmax length 200extendedAddressstringLimitsmax length 100localitystringrequiredLimitsmax length 100administrativeAreastringLimitsmax length 100postalCodestringrequiredLimitsmax length 20countryCodestringrequiredLimitsmin length 2 · max length 2
Responses
201Address created.
addressobjectrequiredA regulatory address for phone number requirements.
13 properties
idstringrequiredfirstNamestringlastNamestringbusinessNamestringstreetAddressstringrequiredextendedAddressstringlocalitystringrequiredadministrativeAreastringpostalCodestringrequiredcountryCodestringrequiredstatusstringrequiredOne ofpendingverifiedrejectedcreatedAtstring<date-time>requiredupdatedAtstring<date-time>
400Invalid request (first name and last name are required), or the address could not be registered for review.
codestringrequiredmessagestringrequireddetailsobject
401Unauthorized.
codestringrequiredmessagestringrequireddetailsobject