Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

tokenCreate Mutation

Create JWT token.

tokenCreate(audience: String, email: String!, password: String!): CreateToken

Returns

CreateToken

Show return type
type CreateToken {
  token: String
  refreshToken: String
  csrfToken: String
  user: User
  accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [AccountError!]!
}

Arguments

audience

audience · String

The audience that will be included to JWT tokens with prefix custom:.

email

email · String!

Email of a user.

password

password · String!

Password of a user.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?