Help Center
Login Sign up
  1. Home
  2. API reference
  3. API documentation (JSON/XML)
  4. Objects

Contact object

API reference (XML/JSON) · Updated 2023-09-25

Description

The Contact (Previously called Handle) object represents the contact information required for domains.

Note on Migration from XML to JSON

Most XML keywords separated by underscores are written in JSON in CamelCase, starting with a lowercase letter.

Example:

confirm_order becomes confirmOrder
price_class becomes priceClass

Some keywords have been simplified in addition to spelling changes.

Example:

use_auto_dnssec becomes autoDnsSec.

Structure

Keyword JSONKeyword XMLOccursTypeFormatDescription
addressaddress1 - 3string
Street or post box. Depending on the registry, up to 65,536 characters may be possible.
aliasalias0 - 1string
A string that is either automatically generated when an alias is not sent or a self-defined string that can be set by the user for the purpose of identifying the domain contact.
citycity1string

The city of the contact.

comment

comment

0 - 1

string

A freely definable text that can be set for a contact. May only be composed of ASCII characters.

confirmOwnerConsent

confirm_owner_consent

1

boolean

Confirmation of the domain holder that he agrees to the changes.

  • false or blank= Refuse confirmation. Order will not be accepted.
  • true = Confirm

Default value = false

For XML, 0 (false) and 1 (true) can also be used.

This confirmation has been required since December 7, 2016 due to ICANN's new change of ownership procedure for changes to the domain holder's name, email address or organization. Only for gTLDs and new gTLDs.

countrycountry1string
Country (ISO 3166-1 alpha-2) Country Code
Certain strings, such as "Germany", are mapped to DE.
createdcreated0 - 1stringdate-timeDate the contact was created on.
domainsafedomainsafe0 - 1boolean
Indicates whether the domain contact is in the DomainSafe.
emailemail0 - 1*)stringemailEmail address
extensionsextension0 - 1object

ContactExtensions

Additional data for contacts required by certain TLDs.
faxfax0 - 1*)stringphoneFax number e.g. +49-123-12345
fnamefname1string
First name
id

id

0 - 1

string

Domain contact ID

lnamelname1string
Last name
nicRefnic_ref0 - nstring
Manually create a NIC reference for the domain contact. This is not required, since the NIC references are always created automatically.

This will no longer be supported in the future.

organizationorganization1string
The name of the organization to be used for the contact.
ownerowner
objectBasicUserUser, the object belongs to
pcodepcode1string
The postal code (“zip-code”) of the contact.

For the countries Canada, Norway, Poland and Spain the format of the postal code is checked for validity. 

Canada (.ca):

Six characters in LNL or NLN formats, where "L" represents a letter and "N" represents a number. 

Example: M5V 3H5, H3Z2Y7 

Norway (.no):

Four digits between 0001 and 9990.

Example: 0010, 9990

Poland (.pl):

Five digits. Hyphen ("-") after the second digit.

Example: 12-345

Spain (.es):

Five digits. Each can be any digit from 0 to 9.

Example: 28040

phonephone0 - 1*)stringphonePhone number e.g. +49-123-12345
protectionprotection1enumContactProtectionDetermines if data is shown in the Whois.
remarksremarks0 - nstring
Comment shown in the Whois. Nur für .de.
statestate0 - 1string
The local state in the country.
titletitle0 - 1string
A prefix to a person’s name such as Dr. / Prof.
typetype1enumContactTypeEnumDomain contact type
verificationverification0 - 1enumGenericStatusEnum

The status of domain contact verification.

  • SUCCESS: Domain contact verification successful
  • PENDING: Domain contact verification in progress
  • FAILED: Domain Contact Verification failed
  • NOT_SET: Domain contact verification not started

*) Depends on the respective registry