Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.duelduck.com/llms.txt

Use this file to discover all available pages before exploring further.

Refreshes the user’s JWT tokens using the provided refresh token from the Authorization header. Returns a new pair of access and refresh tokens.

Parameters

NameTypeHeaderRequiredDescription
AuthorizationstringBearer
<refresh_token>
yesAuthorization
Bearer token

Responses

Response content type: application / json .

Code 200

Successfully refreshed tokens.
{
  "jwt_info": {
    "access_token": "string",
    "refresh_token": "string"
  }
}

Code 401

Unauthorized - Invalid or expired refresh token.
{
  "message": "string",
  "status": 0
}

Code 500

Internal server error.
{
  "message": "string",
  "status": 0
}