---
title: "Exchange a refresh token for a new access token + refresh token"
method: POST
path: "/auth/refresh"
tags: ["Auth"]
---

# Exchange a refresh token for a new access token + refresh token

`POST /auth/refresh`

## Request body

- object
  - `refreshToken` string, required
  - `appId` string, required

## Response `200`

New token pair

- object
  - `data` object, required
    - `accessToken` string, required
    - `refreshToken` string, required
    - `userId` string, required
    - `email` string, nullable, required
    - `scopes` string[], required
    - `expiresAt` string, required

## Other responses

- `400` — Invalid or expired refresh token
- `401` — Refresh token reused (theft detected) — all tokens revoked
- `500` — Internal server error

---

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