Skip to main content
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-analytics
  • notion
  • slack
  • zoho
  • gmail

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 center
  • eu - EU data center
  • in - India data center
  • com.cn - China data center
  • com.au - Australia data center
string[]
List of Zoho API scopes to request. Default scopes include:
  • ZohoCRM.modules.ALL
  • ZohoBooks.fullaccess.ALL
  • ZohoProjects.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:
    1. Call this endpoint to get the authorization URL
    2. Redirect the user to the authorization URL
    3. User authorizes your application
    4. Integration provider redirects to your callback URL
    5. Call the callback endpoint to complete the flow
  • The passthroughRedirectUri should be a URL in your application that can handle the OAuth callback
  • Store the externalUserIdentifier to associate the integration with the correct user after the callback