API: create_contact

Creates a new contact. It is used for both CZ and generic domains, with certain differences. If the registration is successful, the ID of the new contact is returned in the contact_id element.

Parameters:

  • contact_id - requested contact identifier. Valid for Czech domains only. If the element is omitted, the identifier will be assigned by us.
  • type - contact type. Allowed values: CZ for Czech domains and generic for generic domains (.com etc.)
  • name - first name and surname. Valid for Czech domains only.
  • firstname - first name. Valid for generic domains only.
  • lastname - surname. Valid for generic domains only.
  • organization - company name. Optional.
  • street - street and house number.
  • city - town/city.
  • psc - postcode.
  • cc - two-letter country code.
  • phone - telephone number in the format +420.123456789. Required for Czech domains.
  • disclose_phone - disclose the telephone number in the registry. Possible values: yes and no. Valid for Czech domains only.
  • fax - fax number in the format +420.123456789. Optional.
  • disclose_fax - disclose the fax number in the registry. Possible values: yes and no. Valid for Czech domains only.
  • email - e-mail address.
  • disclose_email - disclose the e-mail address in the registry. Possible values: yes and no. Valid for Czech domains only.
  • dic - VAT ID (DIČ). Valid for Czech domains only.
  • disclose_dic - disclose the VAT ID (DIČ) in the registry. Possible values: yes and no. Valid for Czech domains only.
  • ident_type - identification type. Possible values: op (national identity card number), passport (passport number), mpsv (social insurance number), ico (Company ID, IČO) and birthday (date of birth). Valid for Czech domains only.
  • ident_number - identification number. Valid for Czech domains only.
  • disclose_ident - disclose the identification number in the registry. Possible values: yes and no. Valid for Czech domains only.
  • notifyemail - e-mail address for notifications of changes. Optional. Valid for Czech domains only.
  • disclose_notifyemail - disclose the notification e-mail address in the registry. Possible values: yes and no. Valid for Czech domains only.

Return codes:

  • 1000 OK
  • 2004 Failed - the contact cannot be registered
  • 8800 Malformed input - invalid values in the input fields. Details of the failure are returned in the errors element.

Return value:

  • contact_id - ID of the new contact

Example:

<?xml version="1.0" encoding="UTF-8"?>
<api>
<ssid>sygCqZlagT0OdBcgFwVio7uYsS69Rr</ssid>
<create_contact>
<contact_id/>
<type>CZ</type>
<name>Test Testovič</name>
<organization>Testing Inc.</organization>
<street>Testovací­ 11/7</street>
<city>Testov</city>
<psc>87410</psc>
<cc>CZ</cc>
<phone>+420.602602602</phone>
<disclose_phone>yes</disclose_phone>
<fax/>
<disclose_fax>yes</disclose_fax>
<email>pav@oook.cz</email>
<disclose_email>no</disclose_email>
<dic/>
<disclose_dic>yes</disclose_dic>
<ident_type>birthday</ident_type>
<ident_number>19.8.1980</ident_number>
<disclose_ident>no</disclose_ident>
<notifyemail>pav@oook.cz</notifyemail>
</create_contact>
</api>
<?xml version="1.0" encoding="UTF-8"?>
<api>
<status code="1000">OK</status>
<contact_id>TELE3-A001169</contact_id>
</api>
 
© 2005-2026 TELE3 | all rights reserved | Your IP 216.73.216.116
 we accept payments via Fio bankawe accept payments via Raiffeisenbankwe generate QR paymentsonline payments Visaonline payments MasterCardwe support IPv6DNSSEC domain securityGreenCloud electricity sharingDebian serverUbuntu serverProxmox Virtual Environmentaccredited and certified .CZ domain registrarCisco CCNA certification