Endpoint
Authentication
All requests must include a valid Bearer token in theAuthorization header.
Request Body
This endpoint does not accept a request body or query parameters.Response
boolean
Indicates whether your Flowmatic account currently has an active Google integration.
true means a Google account has been authorized and linked; false means no connection exists.string
The email address of the connected Google account. This field is only present when
connected is true. When connected is false, this field is omitted entirely from the response.Example Response — Not Connected
Example Response — Connected
Always check the value of
connected before reading email. When connected is false, the email field will not be present in the response object, and attempting to access it directly without a guard may cause unexpected errors in your application code.Recommended Usage Pattern
Call this endpoint first to determine the current connection state, then take action accordingly:- If
connectedisfalse, redirect the user (or instruct them to open) the Google Connect URL to initiate the OAuth flow. - If
connectedistrue, you can proceed to run workflows that depend on Google Drive without any further authorization steps.
curl Example
Related Endpoints
- GET /api/integrations/google/connect — initiate the Google OAuth flow to link an account.