---
title: RefreshToken Object
seo:
  title: RefreshToken Object
  description: 'Object: RefreshToken Object'
slug: api-reference/authentication/objects/refresh-token
sidebar:
  label: RefreshToken
search:
  tags:
    - API reference
    - Authentication
lastModified: '2026-04-13'
---

Refresh JWT token. Mutation tries to take refreshToken from the input. If it fails it will try to take `refreshToken` from the http-only cookie `refreshToken`. `csrfToken` is required when `refreshToken` is provided as a cookie.



```graphql
type RefreshToken {
  token: String
  user: User
  accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [AccountError!]!
}
```


## Fields

### token [#token]

**`token`** · [`String`](/api-reference/miscellaneous/scalars/string)

JWT token, required to authenticate.
### user [#user]

**`user`** · [`User`](/api-reference/users/objects/user)

A user instance.
### accountErrors [#account-errors]

**`accountErrors`** · [`[AccountError!]!`](/api-reference/users/objects/account-error)



:::warning[Deprecated]
Use `errors` field instead.
:::

### errors [#errors]

**`errors`** · [`[AccountError!]!`](/api-reference/users/objects/account-error)



## Used by

- [tokenRefresh (mutations)](/api-reference/authentication/mutations/token-refresh)

---

Schema: **Saleor 3.23.43**. [Download SDL](/schema/saleor.graphql).
