External: Token
Refresh Token
Changed onExchange refresh token for new access token.
This endpoint accepts both SDK and Developer refresh tokens and returns a new access token of the same type. Implements refresh token rotation: the old refresh token is revoked and a new one is issued.
Args: payload: Request containing the refresh token db: Database session
Returns: TokenResponse with new access token and new refresh token
Raises: 401: If the refresh token is invalid or revoked
post/api/v1/token/refresh
Request
- Base URL: https://api.openwearables.io (the document declares no server; this is the origin it was published from)
- URL: https://api.openwearables.io/api/v1/token/refresh
- Auth: none declared
Request body
Response
Successful Response
Changes
- info
added the optional property
to the response with the status
- info