---
title: "Refresh tokens"
method: POST
path: "/auth/refresh"
tags: ["Auth"]
---

# Refresh tokens

`POST /auth/refresh`

## Request

- Base URL: `https://sdukstudio.com/api`
- URL: `https://sdukstudio.com/api/auth/refresh`
- Auth: none required

## Request body

- RefreshRequest
  - `refreshToken` string, required

## Response `200`

New tokens

- TokenPair
  - `accessToken` string
  - `refreshToken` string
  - `user` AuthUser
    - `user_id` integer
    - `email` string, email
    - `display_name` string
    - `status` string

## Other responses

- `401`: Invalid refresh token

---

[API](https://skmtc.dev/sdukstudio/apis/sduk-studio-info-site-api.md) · [All operations](https://skmtc.dev/sdukstudio/apis/sduk-studio-info-site-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sdukstudio/apis/sduk-studio-info-site-api/revisions/d7877b33dad3?raw)
