Create
Create a new source connection.
The authentication configuration determines the flow:
- DirectAuthentication: Immediate creation with provided credentials
- OAuthBrowserAuthentication: Returns shell with authentication URL
- OAuthTokenAuthentication: Immediate creation with provided token
- AuthProviderAuthentication: Using external auth provider
BYOC (Bring Your Own Client) is detected when client_id and client_secret
are provided in OAuthBrowserAuthentication.
sync_immediately defaults:
- True for: direct, oauth_token, auth_provider
- False for: oauth_browser, oauth_byoc (these sync after authentication)
Authentication
x-api-keystring
API Key authentication via header
Headers
X-Framework-Name
X-Framework-Version
Request
This endpoint expects an object.
short_name
Source identifier (e.g., ‘slack’, ‘github’)
readable_collection_id
Collection readable ID
name
Connection name (defaults to ‘{Source Name} Connection’)
description
Connection description
config
Source-specific configuration
schedule
Schedule configuration for syncs.
sync_immediately
Run initial sync after creation. Defaults to True for direct/token/auth_provider, False for OAuth browser/BYOC flows (which sync after authentication)
authentication
Authentication config (defaults to OAuth browser flow for OAuth sources)
redirect_url
URL to redirect to after OAuth flow completes (only used for OAuth flows)
Response
Successful Response
id
name
description
short_name
readable_collection_id
status
Source connection status enum - represents overall connection state.
created_at
modified_at
auth
Authentication information.
config
schedule
Schedule information.
sync
Sync execution details.
sync_id
ID of the associated sync
entities
Entity state summary.
federated_search
Whether this source uses federated search