Connect Integration
Integrations
Connect Integration
Initialize OAuth flow for an integration
POST
Connect Integration
Start the OAuth flow to connect a third-party integration.
URL Parameters
string
required
The type of integration to connect. Valid values:
google-analyticsnotionslackzohogmail
Request
string
required
Unique identifier for the user in your system
string
required
The URL to redirect to after OAuth completion
string
Data center for Zoho integration (e.g., ‘com’, ‘eu’)
string[]
Additional OAuth scopes for Zoho integration
Response
string
The OAuth authorization URL to redirect the user to
Example
Integration-Specific Parameters
Google Analytics
No additional parameters required.Notion
No additional parameters required.Slack
No additional parameters required.Zoho
string
default:"com"
Zoho data center:
com- US data centereu- EU data centerin- India data centercom.cn- China data centercom.au- Australia data center
string[]
List of Zoho API scopes to request. Default scopes include:
ZohoCRM.modules.ALLZohoBooks.fullaccess.ALLZohoProjects.projects.ALL
Gmail
No additional parameters required.Error Codes
object
Invalid request
object
Authentication error
object
Server error
Notes
- The OAuth flow is a multi-step process:
- Call this endpoint to get the authorization URL
- Redirect the user to the authorization URL
- User authorizes your application
- Integration provider redirects to your callback URL
- Call the callback endpoint to complete the flow
- The
passthroughRedirectUrishould be a URL in your application that can handle the OAuth callback - Store the
externalUserIdentifierto associate the integration with the correct user after the callback