Help Center
Login Sign up
  1. Home
  2. API reference
  3. API reference
  4. AuthInfo

Domain create AuthInfo2

EPP API · Updated 2023-09-26

Description

The command initiates a AuthInfo2 request at the respective registry. The domain must not be in your possession.

This procedure is only supported for certain TLDs.

The generated AuthInfo is then sent to the domain registrant by the registry. For the .de TLD, the registry uses the normal postal service.

Note

Certain registries may additionally charge money for this procedure.

XML example

<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"  xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
    <command>
        <create>
            <domainrobot:authinfo2 xmlns:domainrobot="urn:org:domainrobot:ns:ext-1.0">
                <domainrobot:name>example.de</domainrobot:name>
            </domainrobot:authinfo2>
        </create>
        <clTRID>ABC-12345</clTRID>
    </command>
</epp>
<epp xmlns:contact="urn:ietf:params:xml:ns:contact-1.0"
    xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xmlns:domainrobot="urn:org:domainrobot:ns:ext-1.0">
    <response>
        <result code="1000">
            <msg lang="en">Command completed successfully</msg>
        </result>
        <resData>
            <domainrobot:authinfo2>
                <domainrobot:name>example.de</domainrobot:name>
            </domainrobot:authinfo2>
        </resData>
        <trID>
            <clTRID>ABC-12345</clTRID>
        </trID>
    </response>
</epp>