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

# Exchange a refresh token for a new token pair

`POST /v1/auth/jwt/refresh`

## Request

- Base URL: `https://api.smartloop.ai`
- URL: `https://api.smartloop.ai/v1/auth/jwt/refresh`
- Auth: none declared

## Request body

- object
  - `refresh_token` string, required

## Response `200`

New token pair

- TokenPair
  - `access_token` string, required
  - `refresh_token` string, required
  - `token_type` 'bearer', required

## Other responses

- `401`: Missing or invalid credentials
- `422`: Validation error

---

[API](https://skmtc.dev/smartloop/apis/smartloop-platform-api.md) - [All operations](https://skmtc.dev/smartloop/apis/smartloop-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smartloop/apis/smartloop-platform-api/revisions/17a787eabbe8?raw)
