---
title: "Rotate the refresh token; mint a fresh access + refresh pair"
method: POST
path: "/v1/refresh"
tags: ["auth"]
---

# Rotate the refresh token; mint a fresh access + refresh pair

`POST /v1/refresh`

## Request

- Base URL: `https://api.travelminds.ai`
- URL: `https://api.travelminds.ai/v1/refresh`
- Auth: none declared

Validates the supplied refresh token, replaces the stored hash, and issues a new access JWT + new refresh token. The old refresh token stops working immediately (rotation pattern — limits damage on leak).

## Request body

- RefreshBody
  - `refresh_token` string, required

## Response `200`

Successful Response

- TokenResponse
  - `access_token` string, required
  - `refresh_token` string, required
  - `token_type` string
  - `expires_in` integer
  - `account` object, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/travelminds/apis/travelmindsai-api-gateway.md) · [All operations](https://skmtc.dev/travelminds/apis/travelmindsai-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/travelminds/apis/travelmindsai-api-gateway/revisions/d05c8634e340?raw)
