Subreg EPP server documentation
[All Commands]

Create contact

Creates new contact object and returns its new generated id. Contact then can be used as registrant, admin, tech or billing contact in domain <create> and <update> requests. Fields name, street, city, cc, pc, voice and email are mandatory. Note, field id specified in request is not used by the server. Please save id returned in the response instead.

Input fields

  • postalInfo-name - first and last name of the person or company (required)
  • postalInfo-org - organisation, company
  • postalInfo-addr-street - street address (required)
  • postalInfo-addr-city - city (required)
  • postalInfo-addr-sp - state code
  • postalInfo-addr-pc - postal code (required)
  • postalInfo-addr-cc - country code, ISO format (required)
  • voice - phone number in format +1.234567890 (required)
  • fax - fax number in format +1.234567890
  • email - email address (required)
  • param - any other optional specific parameter, currently supported for CZ: regid (NIC ID to assign for this contact), notify_email (email to send notifications to), vat (VAT number), ident_type (op,passport,mpsv,ico,birthday), ident_number, hidden (which elements to hide from public - accepted voice, fax, email, vat, ident, notify_email)
  • force - 0/1 whether to create new contact (duplicate) even if this contact already exists

Output fields

  • id - identificator (handle) of newly created contact (required)
  • crDate - creation date (current date and time) (required)


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
   <contact:create xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
    <contact:postalInfo type="int">
     <contact:name>John Doe</contact:name>
     <contact:org>Example Inc.</contact:org>
      <contact:street>123 Example Dr.</contact:street>
   <subreg:create xmlns:subreg="">
    <subreg:param name="regid">ANY-CZNIC-CONTACT-ID</subreg:param>
    <subreg:param name="notify_email"></subreg:param>

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
   <result code="1000">
    <msg lang="en">Command completed successfully</msg>
    <contact:creData xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">

Subreg EPP server documentation - version 1.0