Skip to main content
GET
Validate the caller's stored Google Services token

Authorizations

Authorization
string
header
required

JWT token passed in authorization header

Response

Validation completed. Inspect valid for the outcome.

valid
boolean

Whether the stored Google access_token is currently accepted by Google.

Example:

true

source
enum<string> | null

Which storage location the validated token came from. institution means it lived on the user's UserInstitution.googleLoginToken; user means the personal token on the User record. Null when no token is configured.

Available options:
institution,
user
cleared
boolean

True after clearing a confirmed invalid_grant or a 401 credential with no refresh token.

Example:

false

retryable
boolean

True when validation failed without clearing the recoverable credential. Retry later.

message
string

Set when no token is configured for the resolved source.

error
string

Set on validation failure — passes through Google's error message.