---
title: "Refresh token"
method: POST
path: "/token/refresh/"
tags: ["Accounts", "public"]
---

# Refresh token

`POST /token/refresh/`

Returns a new ID token and refresh token for the given user.

Requires "*" permission on the organization and its children, and the "allowUserTokenManagement" flag to be enabled on the organization.

## Headers

- `x-m2-organization-id` string, required

## Request body

- RefreshTokenRequestSchema — The request body for refreshing a token
  - `refreshToken` string, required

## Response `200`

The response to refreshing a token

- object — The response to refreshing a token
  - `idToken` string, required
  - `refreshToken` string, required
  - `expiresIn` string, required
  - `userId` string, required

---

[API](https://skmtc.net/otherside/apis/accounts.md) · [All operations](https://skmtc.net/otherside/apis/accounts/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/otherside/accounts/revisions/99b138ac9152/schema)
