---
title: "Post New Jwt Token"
method: POST
path: "/api/auth/jwt/refresh_token"
tags: ["Auth API"]
---

# Post New Jwt Token

`POST /api/auth/jwt/refresh_token`

## Request

- The document declares no server URL.
- Auth: none declared

API to fetch for a new access token using a refresh token.

## Query parameters

- `workflow_id` string, required
- `group_name` string, required
- `task_name` string, required
- `retry_id` integer

## Request body

- TokenRequest: Request body containing a token for JWT generation.
  - `token` string, required

## Response `200`

Successful Response

- JwtTokenResponse: Response for JWT token creation endpoints.
  - `token` string, nullable
  - `expires_at` integer, nullable
  - `error` string, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-08-03** `b9d312a13f5d`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-04-08** `a8157dc3279d`: 3 breaking
  - response property `error` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - response property `expires_at` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - response property `token` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
- **2026-03-31** `639e39b0d1eb`: 1 breaking, 3 info
  - the response's body type changed from no type to `object` for status `200`
  - added the optional property `error` to the response with the `200` status
  - added the optional property `expires_at` to the response with the `200` status
  - added the optional property `token` to the response with the `200` status
- **2026-03-05** `91e3fb0731d4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api/changes/api/auth/jwt/refresh_token/post.md)

---

[API](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api.md) - [All operations](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api/revisions/845585a71dbb?raw)
