Create Source Connection
Authentication
Request
Source type identifier (e.g., ‘slack’, ‘github’, ‘notion’)
Display name for the connection. If not provided, defaults to ‘{Source Name} Connection’.
Source-specific configuration (e.g., repository name, filters)
Run initial sync after creation. Defaults to True for direct/token/auth_provider, False for OAuth browser/BYOC flows (which sync after authentication)
Authentication configuration. Type is auto-detected from provided fields.
URL to redirect to after OAuth flow completes (only used for OAuth flows)
Response
When the connection was created (ISO 8601)
When the connection was last modified (ISO 8601)
Source-specific configuration values
ID of the associated sync (internal use)
Error category when status is needs_reauth (e.g. oauth_credentials_expired)
Human-readable error message when status is needs_reauth
URL to the auth provider’s settings dashboard (for auth_provider errors)
Auth provider short_name (e.g. ‘composio’, ‘pipedream’) for display
Whether this source uses federated (real-time) search instead of syncing