Skip to content

๐Ÿ”„ Refresh Access Token

Endpoint: POST /api/admin/auth/refresh
Auth Required: โŒ No (Refresh Token Required)
Content-Type: application/json


๐Ÿ“Œ Description

This endpoint allows an administrator to generate a new access token using a valid refresh token.

Access tokens are short-lived for security reasons.
When an access token expires, this endpoint enables admins to continue their session without logging in again.


๐Ÿ” Authentication

This endpoint does not require an access token.

A valid refresh token must be provided in the request body.


๐Ÿงพ Request Body

```json { "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6..." }