---
title: "Exchange refresh token for a new access token"
method: POST
path: "/auth/refresh"
tags: ["auth"]
---

# Exchange refresh token for a new access token

`POST /auth/refresh`

## Request

- Base URL: `https://task.igordudnek.com/api/v1`
- URL: `https://task.igordudnek.com/api/v1/auth/refresh`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `lt_access`

## Request body

- RefreshRequest
  - `refresh_token` string, required

## Response `200`

OK

- TokenPair
  - `access_token` string, required
  - `expires_in` integer
  - `refresh_token` string, required

---

[API](https://skmtc.dev/loopertask/apis/loopertask-api.md) · [All operations](https://skmtc.dev/loopertask/apis/loopertask-api/llms.txt) · [OpenAPI document](https://skmtc.dev/loopertask/apis/loopertask-api/revisions/5d9903f15162?raw)
