---
title: "POST /api/user/token-refresh/"
method: POST
path: "/api/user/token-refresh/"
tags: ["User"]
---

# POST /api/user/token-refresh/

`POST /api/user/token-refresh/`

Generate a new access_token that can be used to continue operating on Baserow starting from a valid refresh token.

## Request body

- TokenRefreshWithUser
  - `access` string, required
  - `refresh_token` string
  - `token` string — Deprecated. Use `refresh_token` instead.

## Response `200`

- object
  - `user` object — An object containing information related to the user.
    - `first_name` string — The first name of related user.
    - `username` string, email — The username of the related user. This is always an email address.
    - `language` string — An ISO 639 language code (with optional variant) selected by the user. Ex: en-GB.
  - `token` string — Deprecated. Use the `access_token` instead.
  - `access_token` string — 'access_token' can be used to authorize for other endpoints that require authorization. This token will be valid for 10 minutes.

## Other responses

- `401`

---

[API](https://skmtc.net/baserow/apis/baserow-api-spec.md) · [All operations](https://skmtc.net/baserow/apis/baserow-api-spec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/baserow/baserow-api-spec/revisions/0c490e5b0c7f/schema)
