---
title: "刷新令牌"
method: POST
path: "/auth/refresh"
tags: ["认证管理"]
---

# 刷新令牌

`POST /auth/refresh`

使用刷新令牌获取新的访问令牌

## Request body

- ModelsRefreshTokenRequest
  - `refresh_token` string, required — 刷新令牌

## Response `200`

刷新成功

- ServicesRefreshResponse
  - `access_token` string
  - `expires_in` integer
  - `refresh_token` string
  - `token_type` string

## Other responses

- `400` — 请求数据错误
- `401` — 刷新令牌无效
- `500` — 服务器错误

---

[API](https://skmtc.net/songloft-org/apis/songloft-api.md) · [All operations](https://skmtc.net/songloft-org/apis/songloft-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/songloft-org/songloft-api/versions/ee41778dbf8f/schema)
