List accepted postal codes for address creation in a country

GET {{baseUrl}}/v1/regulation/zipcode?countryCodeA3=<string>&pageNumber=0&pageSize=20

For some DID Groups with an address=LOCAL requirement, the ListZipcodes returns no items. This indicates that the regulation is not strict about the Zipcode matching the local address and hence any valid zip code can be entered (it will not be checked).

Request Params

KeyDatatypeRequiredDescription
areaCodestringThis is the area code of the DID which can be retrieved using the listDidGroup or listDid methods. Since an area code can be the same for two different countries, the country should also be specified. If the whole list for a given country is needed, then you can leave the area code unspecified.
countryCodeA3stringThis is the country code A3 of the country for which the list of zip codes and cities is needed. In practice, the area code will also be needed to identify specifically which cities and zip codes are a match.
pageNumbernumberThe page number, starting at 0.
pageSizenumberThe page size (max number of entities that are displayed in the response).

HEADERS

KeyDatatypeRequiredDescription
apikeystringAuthentication to Voxbone APIs is handled via key based authentication. You can manage your API key on our platform under Account Settings. Please use our API quickstart guide for more help.
Acceptstring

RESPONSES

status: OK

{&quot;cityZipCodes&quot;:[{&quot;cityName&quot;:&quot;Aachen&quot;,&quot;zipCode&quot;:&quot;52062&quot;},{&quot;cityName&quot;:&quot;Aachen&quot;,&quot;zipCode&quot;:&quot;52063&quot;},{&quot;cityName&quot;:&quot;Aachen&quot;,&quot;zipCode&quot;:&quot;52064&quot;},{&quot;cityName&quot;:&quot;Aachen&quot;,&quot;zipCode&quot;:&quot;52065&quot;},{&quot;cityName&quot;:&quot;Aachen&quot;,&quot;zipCode&quot;:&quot;52066&quot;},{&quot;cityName&quot;:&quot;Aachen&quot;,&quot;zipCode&quot;:&quot;52067&quot;},{&quot;cityName&quot;:&quot;Aachen&quot;,&quot;zipCode&quot;:&quot;52068&quot;},{&quot;cityName&quot;:&quot;Aachen&quot;,&quot;zipCode&quot;:&quot;52069&quot;},{&quot;cityName&quot;:&quot;Aachen&quot;,&quot;zipCode&quot;:&quot;52070&quot;},{&quot;cityName&quot;:&quot;Aachen&quot;,&quot;zipCode&quot;:&quot;52071&quot;},{&quot;cityName&quot;:&quot;Aachen&quot;,&quot;zipCode&quot;:&quot;52072&quot;},{&quot;cityName&quot;:&quot;Aachen&quot;,&quot;zipCode&quot;:&quot;52073&quot;},{&quot;cityName&quot;:&quot;Aachen&quot;,&quot;zipCode&quot;:&quot;52074&quot;},{&quot;cityName&quot;:&quot;Aachen&quot;,&quot;zipCode&quot;:&quot;52075&quot;},{&quot;cityName&quot;:&quot;Aachen&quot;,&quot;zipCode&quot;:&quot;52076&quot;},{&quot;cityName&quot;:&quot;Aachen&quot;,&quot;zipCode&quot;:&quot;52077&quot;},{&quot;cityName&quot;:&quot;Aachen&quot;,&quot;zipCode&quot;:&quot;52078&quot;},{&quot;cityName&quot;:&quot;Aachen&quot;,&quot;zipCode&quot;:&quot;52079&quot;},{&quot;cityName&quot;:&quot;Aachen&quot;,&quot;zipCode&quot;:&quot;52080&quot;},{&quot;cityName&quot;:&quot;Aachen-Kornelimünster&quot;,&quot;zipCode&quot;:&quot;52076&quot;}],&quot;resultCount&quot;:16022}