---
title: "Refresh Bearer Token"
method: POST
path: "/auth/bearer/refresh"
tags: ["auth"]
---

# Refresh Bearer Token

`POST /auth/bearer/refresh`

## Request

- Base URL: `https://dev.whispa.net` (the document declares no server; this is the origin it was published from)
- URL: `https://dev.whispa.net/auth/bearer/refresh`
- Auth: none declared

Refresh access token using refresh token (for desktop/API clients).

Unlike the JWT refresh endpoint, this accepts refresh token in request body
and returns the new access token in the response body.

## Request body

- BearerRefreshRequest: Request body for bearer token refresh.
  - `refresh_token` string, required

## Response `200`

Successful Response

- BearerRefreshResponse: Response for bearer token refresh.
  - `access_token` string, required
  - `token_type` string
  - `expires_in` integer, required

## Other responses

- `422`: Validation Error

---

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