---
title: "Rotate access token"
method: POST
path: "/2026-04/auth/accessToken"
---

# Rotate access token

`POST /2026-04/auth/accessToken`

## Request

- Base URL: `https://api.loopsubscriptions.com/storefront`
- URL: `https://api.loopsubscriptions.com/storefront/2026-04/auth/accessToken`
- Auth: API key in header `Authorization`

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`

Access token generated successfully

- object
  - `success` boolean
  - `message` string
  - `data` object
    - `accessToken` string
  - `code` string

## Changes

- **2026-11-03** `1ff6a5700816`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/loopwork/apis/storefront-api/changes/2026-04/auth/accessToken/post.md)

---

[API](https://skmtc.dev/loopwork/apis/storefront-api.md) - [All operations](https://skmtc.dev/loopwork/apis/storefront-api/llms.txt) - [OpenAPI document](https://skmtc.dev/loopwork/apis/storefront-api/revisions/1ff6a5700816?raw)
