Trillet AI logo

Install Google Calendar

Get the Google Calendar OAuth authorization URL to connect your Google Calendar.

GEThttps://api.trillet.ai/v1/api/gcal/install

Headers

x-api-keystringrequired

API key used for authenticating requests to the API.

x-workspace-idstringrequired

Workspace identifier for the API.

Query Parameters

pathwayIdstringrequired

The call flow pathway ID to connect Google Calendar to.

Response Fields

urlstring

The Google OAuth authorization URL. Redirect the user to this URL to authorize the connection.

{
  "url": "https://accounts.google.com/o/oauth2/v2/auth?client_id=...&redirect_uri=...&scope=...&state=..."
}