Integrations

Get Google Drive connection status

Returns whether the current user has a live Google Drive connection. A connection naturally reports as disconnected once its Redis entry expires (matched to the user's session lifetime) or after DELETE /integrations/google-drive.

GET
/integrations/google-drive/status

Authorization

token_auth
AuthorizationBearer <token>

Token-based authentication using access tokens.

In: header

Response Body

application/json

application/json

curl -X GET "https://v2.api.piktid.com/integrations/google-drive/status"
{
  "connected": true,
  "email": null,
  "last_used_at": null
}
{
  "error": "Invalid request",
  "detail": [
    {
      "field": null,
      "message": "string",
      "position": "query"
    }
  ]
}
Empty