---
title: "PUT /auth/token/refresh"
method: PUT
path: "/auth/token/refresh"
tags: ["Auth"]
---

# PUT /auth/token/refresh

`PUT /auth/token/refresh`

## Request

- Base URL: `https://auth.api.sui-staging.bluefin.io`
- URL: `https://auth.api.sui-staging.bluefin.io/auth/token/refresh`
- Auth: none declared

Retrieves a new auth token for an account. Expiry is set to 5 min

## Request body

- RefreshTokenRequest
  - `refreshToken` string, required

## Response `200`

OK

- RefreshTokenResponse
  - `accessToken` string, required
  - `accessTokenValidForSeconds` integer, required
  - `refreshToken` string, required
  - `refreshTokenValidForSeconds` integer, required

## Other responses

- `400`: missing refresh token in request
- `401`: invalid signature
- `500`: internal server error
- `default`: Unexpected error

---

[API](https://skmtc.dev/bluefin/apis/bluefin-auth-api.md) - [All operations](https://skmtc.dev/bluefin/apis/bluefin-auth-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bluefin/apis/bluefin-auth-api/revisions/517ecf67949c?raw)
