Refresh token
POST /account/refresh_token/
Operation ID: account_refresh_token_create
⚠️ Important: Tokens expire after 60 days. Ensure you refresh your token before this time elapses, otherwise you will need to authenticate again using /api/account/login/
.
Refresh the token. We use JWT with a 60-day expiration period. You can refresh the token by calling this API with your current token.
Request Body
Parameters
Field
Type
Required
Description
token
string
Yes
Current authentication token
Response
Success Response (200)
Field
Type
Description
token
string
Refreshed token with extended expiration period
Usage
Potential Use Cases
Long-running Applications: Automated systems that need to maintain authentication over extended periods
Bot Operations: Betting bots that run continuously and need to refresh tokens before expiration
API Client Libraries: SDK implementations that handle token refresh automatically
Last updated