Skip to main content
GET
/
api
/
auth
/
google
/
institution
/
{institutionId}
/
validate
Validate an institution's stored Google token
curl --request GET \
  --url https://pria.praxislxp.com/api/auth/google/institution/{institutionId}/validate \
  --header 'Authorization: Bearer <token>'
{
  "valid": true,
  "cleared": true,
  "message": "No Google tokens configured",
  "error": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.praxis-ai.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT token passed in authorization header

Path Parameters

institutionId
string
required

ObjectId of the institution whose token to validate.

Response

Validation completed. Inspect valid for the outcome.

valid
boolean
Example:

true

cleared
boolean

True when an invalid token was just unset.

message
string

Set when no Google token is configured for the institution.

Example:

"No Google tokens configured"

error
string

Set on validation failure (passes through Google's error).