Skip to content

CloneContact

(Related EPP Command » Contact:Create)

The CloneContact command is used to create an exact duplicate of a particular contact.

Possible Gateways

The following parameters are standard parameters for this command.

Command
command=CloneContact
contact= (CONTACT)
Response
code = (INT)
description = (TEXT)
property[CONTACT][0] = (CONTACT)
property[ROID][0] = (TEXT)
ATTRIBUTESDETAILS
CONTACTContact handle
ROIDROID of the new contact

The following parameters are optional for this command.

Command
command=CloneContact
contact= (CONTACT)
new = 1
Response
code = (INT)
description = (TEXT)
property[CONTACT][0] = (CONTACT)
property[ROID][0] = (TEXT)
ATTRIBUTESDETAILS
NEWRequired if contact in same account should be cloned
Command
command=CloneContact
contact= (CONTACT)
includeextensions = 1
Response
code = (INT)
description = (TEXT)
property[CONTACT][0] = (CONTACT)
property[ROID][0] = (TEXT)
ATTRIBUTESDETAILS
INCLUDEEXTENSIONS0 or 1 (optional, default 0). 1 = also copy the contact extensions to the new contact.

Copied when INCLUDEEXTENSIONS = 1:

  • Verification data: all X-VERIFICATION-* fields
  • Disclose settings: X-DISCLOSE, X-UNDISCLOSE
  • Property set: X-PROPERTYSET
  • .AU fields: all X-AU-* fields
  • TLD contact fields that are stored with the contact, for example .UK X-UK-TRADING-NAME, X-UK-OWNER-CORPORATE-TYPE, X-UK-OWNER-CORPORATE-NUMBER

Not copied: status locks, X-FOREIGN-ID, X-RATING-AUDIT, NIS2 settings.

INCLUDEEXTENSIONS only works for contacts of the own account. Otherwise the command returns:

531 Authorization failed; INCLUDEEXTENSIONS requires own contact

Using INCLUDEEXTENSIONS always creates a new contact handle (like NEW = 1).

Example:

Command
COMMAND = CloneContact
CONTACT = P-ABC123
INCLUDEEXTENSIONS = 1