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

# accountRegister Mutation

Register a new user.

Triggers the following webhook events:

-   CUSTOMER\_CREATED (async): A new customer account was created.
-   NOTIFY\_USER (async): A notification for account confirmation.
-   ACCOUNT\_CONFIRMATION\_REQUESTED (async): An user confirmation was requested. This event is always sent regardless of settings.

```graphql
accountRegister(
  input: AccountRegisterInput!
): AccountRegister
```

Details

```graphql
type AccountRegister {
  user: User @deprecated
  requiresConfirmation: Boolean
  accountErrors: [AccountError!]! @deprecated
  errors: [AccountError!]!
}
```

<a id="arguments"></a>

### Arguments

<a id="input"></a>

#### [`input`](#input) ● [`AccountRegisterInput!`](/api-reference/users/inputs/account-register-input.md)

Fields required to create a user.

<a id="type"></a>

### Type

<a id="accountregister"></a>

#### [`AccountRegister`](/api-reference/users/objects/account-register.md)

Register a new user.

Triggers the following webhook events:

-   CUSTOMER\_CREATED (async): A new customer account was created.
-   NOTIFY\_USER (async): A notification for account confirmation.
-   ACCOUNT\_CONFIRMATION\_REQUESTED (async): An user confirmation was requested. This event is always sent regardless of settings.
