Refresh access token
Changed onGet a new access token using a valid refresh token.
Usage:
- Pass the refresh token as a Bearer token in the Authorization header
- Returns a new access token and basic user information
- The request body and query string are not read
Token Lifetimes:
- Access token: 24 hours (configurable via ACCESS_TOKEN_EXPIRY environment variable)
- Refresh token: 30 days (configurable via REFRESH_TOKEN_EXPIRY environment variable)
Best Practices:
- Call this endpoint before the access token expires
- Store the new access token and continue using it for authenticated requests
- If refresh fails with 401, redirect user to login flow
Request
- Base URLhttps://app.pipeshub.com/api/v1
- URLhttps://app.pipeshub.com/api/v1/userAccount/refresh/token
- AuthHTTP bearer
Response
Token refreshed successfully
Changes
- info
removed the non-success response with the status
- info
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info