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

# StaffCreateInput Input Type

Fields required to create a staff user.

```graphql
input StaffCreateInput {
  firstName: String
  lastName: String
  email: String
  isActive: Boolean
  note: String
  metadata: [MetadataInput!]
  privateMetadata: [MetadataInput!]
  addGroups: [ID!]
  redirectUrl: 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="email"></a>

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

The unique email address of the user.

<a id="is-active"></a>

#### [`isActive`](#is-active) ● [`Boolean`](/api-reference/miscellaneous/scalars/boolean.md)

User account is active.

<a id="note"></a>

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

A note about the user.

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

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

Fields required to update the user 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="private-metadata"></a>

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

Fields required to update the user private metadata. Requires permissions to modify and to read the metadata of the object it's attached to.

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

<a id="add-groups"></a>

#### [`addGroups`](#add-groups) ● [`[ID!]`](/api-reference/miscellaneous/scalars/id.md)

List of permission group IDs to which user should be assigned.

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

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

URL of a view where users should be redirected to set the password. URL in RFC 1808 format.

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

### Member Of

[`staffCreate`](/api-reference/users/mutations/staff-create.md) mutation
