Google OAuth
Refresh Google access token
Refreshes a Google access token using the server-held Google OAuth client id and secret. Google usually omits refresh_token on refresh; the desktop should preserve the old refresh token.
post/v1/google-oauth/refresh
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /v1/google-oauth/refresh
- Auth: HTTP bearer
Request body
Example request
{
"refreshToken": "1//refresh"
}Response
Refreshed Google access token bundle.
Example response
{
"access_token": "example-access-token",
"expires_at": 1790784000,
"refresh_token": "1//refresh",
"scope": "openid email profile https://www.googleapis.com/auth/gmail.readonly",
"token_type": "Bearer"
}Changes
No operation changes recorded.