---
title: "Refresh token"
method: POST
path: "/iam/auth/jwt/refresh"
tags: ["Account"]
---

# Refresh token

`POST /iam/auth/jwt/refresh`

Use this request to refresh your access token.

If your refresh token is invalid, expired or blacklisted you should
[authenticate](POST /auth/jwt/login) to obtain valid refresh token and try again.

**Token Expiration**

The access token will expire in an hour, the refresh token — in 24 hours.

## Request body

- RefreshRequest
  - `refresh` string, required — Use this token to refresh the access token via [`/auth/jwt/refresh`](POST /auth/jwt/refresh) method.

## Response `200`

OK.

- Token
  - `refresh` string, required — Use this token to refresh the access token via [`/auth/jwt/refresh`](POST /auth/jwt/refresh) method.
  - `access` string, required — Use this token to access API.

## Other responses

- `400` — Token refreshing failed.
- `401` — Refresh token is invalid, expired or blacklisted. Refresh token is blacklisted if it was already used for refreshing token.

---

[API](https://skmtc.dev/g-core/apis/gcore-openapi.md) · [All operations](https://skmtc.dev/g-core/apis/gcore-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/g-core/gcore-openapi/revisions/09e652815095/schema)
