---
title: "AuthInfo1 create"
url: "https://help.internetx.com/en/api/core-authinfo1-create/"
lang: "en"
section: "API reference — API reference (XML/JSON)"
breadcrumb: "API documentation (JSON/XML) > Tasks > Transfer tasks"
updated: "2023-11-15"
---

# AuthInfo1 create

## Function

The _AuthInfo1Create_ task requests an AuthInfo1.

If a cancelation of the Preack task exists, you cannot generate an AuthInfo1 yourself via the system. In this case, the system generates AuthInfo1 automatically. For the execution types "now" and "date", the AuthInfo is then valid for 30 days from the cancelation date (execdate). If the execution date "expire" is selected, that is, the termination on the expiration date, the AuthInfo is valid from 30 days before the expiration date.

## Description

Route: POST /domain/{name}/\_authinfo1  
No body has to be sent.

```
{
}
```

```
{
  "status": {
    "code": "S0113001",
    "text": "AuthInfo1 was created successfully.",
    "type": "SUCCESS"
  },
  "object": {
    "type": "Domain",
    "value": "example.com"
  }
}
```

Task code: 0113001  
Uses [Domain](/en/api/core-domain-object/) object

**Successful creation of the AuthInfo**

```
<request>
	<auth>
		<user>customer</user>
		<password>password</password>
		<context>4</context>
	</auth>
	<owner>
		<user>customer2</user>
		<context>4</context>
	</owner>
	<task>
		<code>0113001</code>
		<domain>
			<name>example.com</name>
		</domain>
	</task>
</request>
```

```
<response>
	<result>
		<data/>
		<status>
			<code>S0113001</code>
			<text>AuthInfo1 was created successfully.</text>
			<type>success</type>
			<object>
				<type>authinfo</type>
				<value>kiSV/CbJi9/KaCxp</value>
			</object>
		</status>
	</result>
</response>
```

**Response if an AuthInfo already exists**

```
<response>
	<result>
		<data />
		<msg>
			<code>EF011316</code>
			<type>error</type>
			<object>
				<type>authinfo</type>
				<value></value>
			</object>
		</msg>
		<status>
			<code>E0113001</code>
			<text>AuthInfo1 could not be created.</text>
			<type>error</type>
			<object>
				<type>authinfo</type>
				<value>12345-abcd</value>
			</object>
		</status>
	</result>
</response>
```
