Initiates OAuth authentication for a ready-to-use tool integration. Use this endpoint to connect a tool (e.g., Gmail, Google Sheets) to an agent by generating an OAuth redirect URL.
Workflow: After calling this endpoint, redirect the user to the returned URL to complete the OAuth flow.
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
AI Agent UID
Tool slug to authenticate (e.g., gmail, googlesheets)
Authentication metadata required for the tool
{ "emailId": "user@example.com" }OAuth authentication initiated successfully with redirect URL