---
title: "Domain create AuthInfo1"
url: "https://help.internetx.com/en/api/epp-domain-create-authinfo1/"
lang: "en"
section: "API reference — EPP API"
breadcrumb: "API reference > AuthInfo"
updated: "2023-09-26"
---

# Domain create AuthInfo1

## Description

The command enables the creation of a AuthInfo1 for a domain at the respective registry.

This procedure is only supported for certain TLDs.

Only one AuthInfo can be created per domain. The [Domain create AuthInfo1](/en/api/epp-domain-create-authinfo1/) command allows you to delete the currently set authinfo for a domain.

The generated AuthInfo can be found within the response and can be used for the domain transfer at the new registrar.

## XML example

```
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
    <command>
        <create>
            <domainrobot:authinfo1 xmlns:domainrobot="urn:org:domainrobot:ns:ext-1.0">
                <domainrobot:name>epptest.de.</domainrobot:name>
            </domainrobot:authinfo1>
        </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:authinfo1>
                <domainrobot:name>epptest.de</domainrobot:name>
                <domainrobot:authInfo>
                    <domain:pw>OHm3rAerO</domain:pw>
                </domainrobot:authInfo>
            </domainrobot:authinfo1>
        </resData>
        <trID>
            <clTRID>ABC-12345</clTRID>
        </trID>
    </response>
</epp>
```
