---
title: "Refresh Token"
method: POST
path: "/api/auth/refresh"
tags: ["Authentication"]
---

# Refresh Token

`POST /api/auth/refresh`

## Request

- Base URL: `https://pegarex.com.br` (the document declares no server; this is the origin it was published from)
- URL: `https://pegarex.com.br/api/auth/refresh`
- Auth: none declared

Rotate the session: validate the refresh token from the cookie, revoke it,
issue a new access+refresh pair, and set the new refresh cookie. Returns only
the access token in the body.

## Response `200`

Successful Response

- unknown

---

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