---
title: "Rotate access token"
method: POST
path: "/2023-10/auth/accessToken"
---

# Rotate access token

`POST /2023-10/auth/accessToken`

This endpoint allows you to rotate the access token using a valid refresh token to maintain secure and continuous access for a user.

## Request body

- object
  - `refreshToken` string, required — A valid token used to generate a new access token.

## Response `200`

200

- object
  - `success` boolean — Indicates whether the access token was generated successfully.
  - `message` string — A human-readable message describing the result of the request.
  - `data` object — Contains the generated access token returned on successful request.
    - `accessToken` string — A valid token used to generate a new access token.
  - `code` string — A status code representing the outcome of the request.

---

[API](https://skmtc.net/loopwork/apis/storefront-api.md) · [All operations](https://skmtc.net/loopwork/apis/storefront-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loopwork/storefront-api/versions/1524500daa02/schema)
