---
title: "Refresh JWT token"
method: POST
path: "/auth/refresh"
tags: ["Auth"]
---

# Refresh JWT token

`POST /auth/refresh`

## Request

- Base URL: `https://orbitus.netcorecloud.com`
- URL: `https://orbitus.netcorecloud.com/auth/refresh`
- Auth: none required

## Request body

- object
  - `refresh_token` string, required

## Response `200`

New JWT and refresh token issued.

- LoginResponse
  - `token` string: JWT access token (15-minute lifetime).
  - `refresh_token` string: Refresh token (7-day lifetime).
  - `refresh_expires_at` string, date-time
  - `client_id` integer
  - `clients` ClientSummary[]
    - `client_id` integer
    - `clientname` string
    - `status` 'active' | 'inactive'
  - `is_parent` boolean
  - `user` UserProfile
    - `id` integer
    - `username` string
    - `email` string, email
    - `full_name` string
    - `role` 'admin' | 'viewer'
    - `client_id` integer
    - `two_factor_enabled` boolean

## Other responses

- `401`: Invalid or expired refresh token.

---

[API](https://skmtc.dev/netcorecloud/apis/orbit-router.md) - [All operations](https://skmtc.dev/netcorecloud/apis/orbit-router/llms.txt) - [OpenAPI document](https://skmtc.dev/netcorecloud/apis/orbit-router/revisions/680f0a8ab1a3?raw)
