---
title: "Refresh JWT token"
method: POST
path: "/refresh/"
tags: ["Authentication"]
---

# Refresh JWT token

`POST /refresh/`

## Request

- Base URL: `http://api.cannoli.app/api/v1`
- URL: `http://api.cannoli.app/api/v1/refresh/`
- Auth: none declared

Takes a refresh type JSON web token and returns an access type JSON web token if the refresh token is valid.

## Request body

- CustomTokenRefresh
  - `refresh_token` string, required
  - `access_token` string

## Response `200`

OK

- CustomTokenRefresh
  - `refresh_token` string, required
  - `access_token` string

---

[API](https://skmtc.dev/cannoli/apis/cannoli-backend-api.md) - [All operations](https://skmtc.dev/cannoli/apis/cannoli-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cannoli/apis/cannoli-backend-api/revisions/d27aef14fd7a?raw)
