> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/users/llms.txt)
> Source: https://docs.saleor.io/api-reference/users/inputs/account-register-input

# AccountRegisterInput Input Type

Fields required to create a user.

```graphql
input AccountRegisterInput {
  firstName: String
  lastName: String
  languageCode: LanguageCodeEnum
  email: String!
  password: String!
  redirectUrl: String
  metadata: [MetadataInput!]
  channel: String
}
```

<a id="fields"></a>

### Fields

<a id="first-name"></a>

#### [`firstName`](#first-name) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Given name.

<a id="last-name"></a>

#### [`lastName`](#last-name) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Family name.

<a id="language-code"></a>

#### [`languageCode`](#language-code) ● [`LanguageCodeEnum`](/api-reference/miscellaneous/enums/language-code-enum.md)

User language code.

<a id="email"></a>

#### [`email`](#email) ● [`String!`](/api-reference/miscellaneous/scalars/string.md)

The email address of the user.

<a id="password"></a>

#### [`password`](#password) ● [`String!`](/api-reference/miscellaneous/scalars/string.md)

Password.

<a id="redirect-url"></a>

#### [`redirectUrl`](#redirect-url) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Base of frontend URL that will be needed to create confirmation URL. Required when account confirmation is enabled.

<a id="metadata"></a>

#### [`metadata`](#metadata) ● [`[MetadataInput!]`](/api-reference/miscellaneous/inputs/metadata-input.md)

User public metadata. Can be read by any API client authorized to read the object it's attached to.

Warning: never store sensitive information, including financial data such as credit card details.

<a id="channel"></a>

#### [`channel`](#channel) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Slug of a channel which will be used to notify users. Optional when only one channel exists.

<a id="member-of"></a>

### Member Of

[`accountRegister`](/api-reference/users/mutations/account-register.md) mutation
