---
title: "POST /refresh-token"
method: POST
path: "/refresh-token"
tags: ["Default"]
---

# POST /refresh-token

`POST /refresh-token`

Refresh the access token using a refresh token

## Request body

- object
  - `providerId` string, required — The provider ID for the OAuth provider
  - `accountId` unknown
  - `userId` unknown

## Response `200`

Access token refreshed successfully

- object
  - `tokenType` string
  - `idToken` string
  - `accessToken` string
  - `refreshToken` string
  - `accessTokenExpiresAt` string, date-time
  - `refreshTokenExpiresAt` string, date-time

## Other responses

- `400` — Invalid refresh token or provider configuration
- `401` — Unauthorized. Due to missing or invalid authentication.
- `403` — Forbidden. You do not have permission to access this resource or to perform this action.
- `404` — Not Found. The requested resource was not found.
- `429` — Too Many Requests. You have exceeded the rate limit. Try again later.
- `500` — Internal Server Error. This is a problem with the server that you cannot fix.

## Changes

- **2026-03-04** `298877d6a79a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/usekaneo/apis/kaneo-api/changes/refresh-token/post.md)

---

[API](https://skmtc.dev/usekaneo/apis/kaneo-api.md) · [All operations](https://skmtc.dev/usekaneo/apis/kaneo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usekaneo/kaneo-api/revisions/298877d6a79a/schema)
