Customer Account API

Customer Account API

You can use The Customer Account API to retrieve information about the information Leaseweb has about you as our customer as well as the contacts you have configured under your Customer account.

What are Contacts?

You can appoint any of the people in your organization to receive automated communication about general, technical, billing, or security-related topics.

If your company is located in the United States

If your company is located in the United States and you need to change your address details, a state field is available for you.

Valid state codes for the United States are as follows:
CodeState
AKAlaska
ALAlabama
ARArkansas
AZArizona
CACalifornia
COColorado
CTConnecticut
DCDistrict of Columbia
DEDelaware
FLFlorida
GAGeorgia
HIHawaii
IAIowa
IDIdaho
ILIllinois
INIndiana
KSKansas
KYKentucky
LALouisiana
MAMassachusetts
MDMaryland
MEMaine
MIMichigan
MNMinnesota
MOMissouri
MSMississippi
MTMontana
NCNorth Carolina
NDNorth Dakota
NENebraska
NHNew Hampshire
NJNew Jersey
NMNew Mexico
NVNevada
NYNew York
OHOhio
OKOklahoma
OROregon
PAPennsylvania
RIRhode Island
SCSouth Carolina
SDSouth Dakota
TNTennessee
TXTexas
UTUtah
VAVirginia
VTVermont
WAWashington
WIWisconsin
WVWest Virginia
WYWyoming

United States Territories

CodeState
ASAmerican Samoa
FMFed. St. Micronesia
GUGuam
MHMarshall Islands
MPNorthern Mariana Isl
PRPuerto Rico
PWPalau
VIVirgin Islands

Available country codes and their international dial codes

If you want to automatically configure a contact using our Customer Account API when you have a new colleague joining your company, you can configure your new hire’s telephone number using country codes and their international dial codes.

Valid country code and international dial code pairs are:
Country CodeDial Code
‘AD’‘+376’
‘AE’‘+971’
‘AF’‘+93’
‘AG’‘+1-268’
‘AI’‘+1-264’
‘AL’‘+355’
‘AM’‘+374’
‘AN’‘+599’
‘AO’‘+244’
‘AQ’‘+672’
‘AR’‘+54’
‘AS’‘+1-684’
‘AT’‘+43’
‘AU’‘+61’
‘AW’‘+297’
‘AZ’‘+994’
‘BA’‘+387’
‘BB’‘+1-246’
‘BD’‘+880’
‘BE’‘+32’
‘BF’‘+226’
‘BG’‘+359’
‘BH’‘+973’
‘BI’‘+257’
‘BJ’‘+229’
‘BL’‘+590’
‘BM’‘+1-441’
‘BN’‘+673’
‘BO’‘+591’
‘BR’‘+55’
‘BS’‘+1-242’
‘BT’‘+975’
‘BW’‘+267’
‘BY’‘+375’
‘BZ’‘+501’
‘CA’‘+1’
‘CC’‘+61’
‘CD’‘+243’
‘CF’‘+236’
‘CG’‘+242’
‘CH’‘+41’
‘CI’‘+225’
‘CK’‘+682’
‘CL’‘+56’
‘CM’‘+237’
‘CN’‘+86’
‘CO’‘+57’
‘CR’‘+506’
‘CU’‘+53’
‘CV’‘+238’
‘CW’‘+599’
‘CX’‘+61’
‘CY’‘+357’
‘CZ’‘+420’
‘DE’‘+49’
‘DJ’‘+253’
‘DK’‘+45’
‘DM’‘+1-767’
‘DO’‘+1-809’
‘DZ’‘+213’
‘EC’‘+593’
‘EE’‘+372’
‘EG’‘+20’
‘EH’‘+212’
‘ER’‘+291’
‘ES’‘+34’
‘ET’‘+251’
‘FI’‘+358’
‘FJ’‘+679’
‘FK’‘+500’
‘FM’‘+691’
‘FO’‘+298’
‘FR’‘+33’
‘GA’‘+241’
‘GB’‘+44’
‘GD’‘+1-473’
‘GE’‘+995’
‘GG’‘+44-1481’
‘GH’‘+233’
‘GI’‘+350’
‘GL’‘+299’
‘GM’‘+220’
‘GN’‘+224’
‘GQ’‘+240’
‘GR’‘+30’
‘GT’‘+502’
‘GU’‘+1-671’
‘GW’‘+245’
‘GY’‘+592’
‘HK’‘+852’
‘HN’‘+504’
‘HR’‘+385’
‘HT’‘+509’
‘HU’‘+36’
‘ID’‘+62’
‘IE’‘+353’
‘IL’‘+972’
‘IM’‘+44-1624’
‘IN’‘+91’
‘IO’‘+246’
‘IQ’‘+964’
‘IR’‘+98’
‘IS’‘+354’
‘IT’‘+39’
‘JE’‘+44-1534’
‘JM’‘+1-876’
‘JO’‘+962’
‘JP’‘+81’
‘KE’‘+254’
‘KG’‘+996’
‘KH’‘+855’
‘KI’‘+686’
‘KM’‘+269’
‘KN’‘+1-869’
‘KP’‘+850’
‘KR’‘+82’
‘KW’‘+965’
‘KY’‘+1-345’
‘KZ’‘+7’
‘LA’‘+856’
‘LB’‘+961’
‘LC’‘+1-758’
‘LI’‘+423’
‘LK’‘+94’
‘LR’‘+231’
‘LS’‘+266’
‘LT’‘+370’
‘LU’‘+352’
‘LV’‘+371’
‘LY’‘+218’
‘MA’‘+212’
‘MC’‘+377’
‘MD’‘+373’
‘ME’‘+382’
‘MF’‘+590’
‘MG’‘+261’
‘MH’‘+692’
‘MK’‘+389’
‘ML’‘+223’
‘MM’‘+95’
‘MN’‘+976’
‘MO’‘+853’
‘MP’‘+1-670’
‘MR’‘+222’
‘MS’‘+1-664’
‘MT’‘+356’
‘MU’‘+230’
‘MV’‘+960’
‘MW’‘+265’
‘MX’‘+52’
‘MY’‘+60’
‘MZ’‘+258’
‘NA’‘+264’
‘NC’‘+687’
‘NE’‘+227’
‘NG’‘+234’
‘NI’‘+505’
‘NL’‘+31’
‘NO’‘+47’
‘NP’‘+977’
‘NR’‘+674’
‘NU’‘+683’
‘NZ’‘+64’
‘OM’‘+968’
‘PA’‘+507’
‘PE’‘+51’
‘PF’‘+689’
‘PG’‘+675’
‘PH’‘+63’
‘PK’‘+92’
‘PL’‘+48’
‘PM’‘+508’
‘PN’‘+64’
‘PR’‘+1-787’
‘PS’‘+970’
‘PT’‘+351’
‘PW’‘+680’
‘PY’‘+595’
‘QA’‘+974’
‘RE’‘+262’
‘RO’‘+40’
‘RS’‘+381’
‘RU’‘+7’
‘RW’‘+250’
‘SA’‘+966’
‘SB’‘+677’
‘SC’‘+248’
‘SD’‘+249’
‘SE’‘+46’
‘SG’‘+65’
‘SH’‘+290’
‘SI’‘+386’
‘SJ’‘+47’
‘SK’‘+421’
‘SL’‘+232’
‘SM’‘+378’
‘SN’‘+221’
‘SO’‘+252’
‘SR’‘+597’
‘SS’‘+211’
‘ST’‘+239’
‘SV’‘+503’
‘SX’‘+1-721’
‘SY’‘+963’
‘SZ’‘+268’
‘TC’‘+1-649’
‘TD’‘+235’
‘TG’‘+228’
‘TH’‘+66’
‘TJ’‘+992’
‘TK’‘+690’
‘TL’‘+670’
‘TM’‘+993’
‘TN’‘+216’
‘TO’‘+676’
‘TR’‘+90’
‘TT’‘+1-868’
‘TV’‘+688’
‘TW’‘+886’
‘TZ’‘+255’
‘UA’‘+380’
‘UG’‘+256’
‘US’‘+1’
‘UY’‘+598’
‘UZ’‘+998’
‘VA’‘+379’
‘VC’‘+1-784’
‘VE’‘+58’
‘VG’‘+1-284’
‘VI’‘+1-340’
‘VN’‘+84’
‘VU’‘+678’
‘WF’‘+681’
‘WS’‘+685’
‘XK’‘+383’
‘YE’‘+967’
‘YT’‘+262’
‘ZA’‘+27’
‘ZM’‘+260’
‘ZW’‘+263’