---
title: "Refresh an access token"
method: POST
path: "/v1/tokens#"
---

# Refresh an access token

`POST /v1/tokens#`

**Purpose**: Use this API to refresh an expired access token. Since an access token is valid for 24 hours, you must use this API to generate a new access token.

###Things to remember:
* A newly generated refresh token is valid for 90 days (3 months). It will expire after this period.
* A refresh token can only be used once.
**Caution**: Invoking this API will deactivate the existing access tokens and generate a new access token. So use the Refresh an access token API only when an access token is about to expire or has already expired.

**Note**: Remove the hash (#) at the end, when using this API.

## Request body

- object
  - `refresh_token` string, required — Enter the refresh token that is provided to you when you generate an access token.
  - `grant_type` string, required — The grant type will be the refresh token. Enter `refresh_token` here.

## Response `200`

200

## Other responses

- `400` — 400

---

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