Skip to main content
POST
/
auth
/
refresh
Refresh access token
curl --request POST \
  --url https://core.cyberun.cloud/api/v1/auth/refresh \
  --header 'Content-Type: application/json' \
  --data '
{
  "refresh_token": "eyJhbGciOiJIUzI1NiIs..."
}
'
{
  "access_token": "eyJhbGciOiJIUzI1NiIs...",
  "refresh_token": "eyJhbGciOiJIUzI1NiIs...",
  "expires_in": 3600
}

Documentation Index

Fetch the complete documentation index at: https://docs.cyberun.cloud/llms.txt

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

Body

application/json
refresh_token
string
required

The refresh token obtained from login or a previous refresh.

Example:

"eyJhbGciOiJIUzI1NiIs..."

Response

Token refreshed

access_token
string
required

New short-lived JWT access token.

Example:

"eyJhbGciOiJIUzI1NiIs..."

refresh_token
string
required

New refresh token (the previous one is invalidated via token rotation).

Example:

"eyJhbGciOiJIUzI1NiIs..."

expires_in
integer
required

New access token lifetime in seconds.

Example:

3600