Skip to main content
POST
Finish connecting Google Drive

Authorizations

X-API-Key
string
header
required

Body

application/json

What Google sent to the callback page.

code
string
required
Required string length: 1 - 2048
state
string
required
Required string length: 1 - 512

Response

Successful Response

Whether the signed-in user has connected Drive in this workspace.

Always a 200, never a 404: the settings page is asking "Connect, or pick?" and both answers are ordinary.

configured
boolean
required

Whether this deployment has a Google Drive client at all. False means the Connect button should not be offered.

connected
boolean
required
connected_at
string<date-time> | null
required
google_account_email
string | null
required

Which Google account is connected, for the caption.