---
title: "Refresh authentication token"
method: POST
path: "/accounts/refresh-token"
tags: ["Authentication"]
---

# Refresh authentication token

`POST /accounts/refresh-token`

Issues a new authentication token using a valid refresh token.

## Request body

- RefreshTokenRequest
  - `auth_token` string, required — Current authentication token
  - `refresh_token` string, required — Refresh token to use for generating a new authentication token

## Response `200`

New authentication token issued

- object
  - `data` AuthResponse, required
    - `refresh_token` string — Refresh token
    - `auth_token` string — Authentication token
    - `passkey_enabled` boolean — Whether passkey authentication is enabled
    - `totp_enabled` boolean — Whether TOTP authentication is enabled

## Other responses

- `401` — Invalid or expired tokens

---

[API](https://skmtc.net/quivaworks/apis/quiva-ai-gateway.md) · [All operations](https://skmtc.net/quivaworks/apis/quiva-ai-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quivaworks/quiva-ai-gateway/revisions/771d118bd4d1/schema)
