Skip to main content
POST
/
api
/
v1
/
auth
/
refresh
Refresh Tokens
curl --request POST \
  --url https://api.example.com/api/v1/auth/refresh \
  --header 'Content-Type: application/json' \
  --data '
{
  "refresh_token": "<string>"
}
'
{
  "token": "<string>",
  "refresh_token": "<string>",
  "expires_in": 123
}

Body

application/json

Request body for token refresh.

refresh_token
string
required

JWT refresh token

Minimum string length: 1

Response

Successful Response

Response for successful token refresh.

token
string
required

New JWT access token

refresh_token
string
required

New JWT refresh token

expires_in
integer
required

Access token expiration time in seconds