Skip to main content
POST
Start Google OAuth

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your API key as the bearer token. Format: Authorization: Bearer

Path Parameters

agent_id
string
required

Body

application/json
return_path
string

Optional relative return path or allowlisted absolute app URL to return to after OAuth completes.

managed_tools
ManagedGoogleToolsConfig · object

Response

Successful Response

auth_url
string
required

Google OAuth authorization URL to open in a popup or browser.

requested_scopes
string[]
required