Integrations¶
Users can integrate custom streams with their downstream databases and communications channels of choice.
Note: Integrations require specific permissions not available on free tier accounts. To request integration access, contact your SportsCapital representative or email support@sportscapital.io. See the Getting Started page for more information on our permission model.
Integrations¶
SportsCapital currently supports these integration types:
Integration |
Description |
Parameters |
Setup Prerequisites |
|---|---|---|---|
Slack |
Post alerts to specific Slack channels |
• Slack bot token |
• Create a Slack App in your workspace |
Amazon S3 |
Store JSON data in S3 buckets |
• Access Key ID |
• Create an S3 bucket |
Webhook |
POST Request sending JSON to your endpoint |
• Endpoint URL |
• Accept JSON payload |
MongoDB |
Store JSON data as documents in MongoDB collection |
• Mongo URI |
• Setup Mongo collection |
Core Operations¶
Operation |
Description |
Platform |
API |
|---|---|---|---|
List All |
View all integrations |
Access the Integrations tab to see integration cards |
GET to |
Create |
Set up a new integration |
Click “Add Integration” and select type |
POST to |
Edit |
Modify an existing integration |
Click “View Integration” on an integration card |
PUT to |
Delete |
Remove an integration |
Click the trash icon on an integration card |
DELETE to |
Toggle Status |
Enable/disable an integration |
Use the toggle switch on an integration card |
PUT to |
Automatic Delivery¶
Once configured, the delivery system works automatically when:
An integration is active - You have set an integration to active status
Active saved searches exist - You have saved searches with integration enabled
League matching occurs - Both integration and saved searches are configured for the same league
There is no need to manually link saved searches to specific integrations. Any active saved search will automatically deliver to all active integrations for the matching league.
How It Works¶
Configure your external system (create Slack channels, set up S3 buckets)
Create an integration in SportsCapital with the appropriate credentials
Activate the integration by setting it to active status
Create and activate saved searches for the same league (see Manage Searches)
Matching content is automatically delivered to your external system
When content matches your saved search criteria (see Search for details on configuring effective searches), the system will automatically deliver that content to your configured integrations.
Using This Feature¶
Platform¶
Configure your external system first (create channels, set permissions, etc.)
Navigate to the Integrations tab in your Command Center
Click “Add Integration” to create a new connection
Select the integration type (Slack, S3)
Enter the required configuration details:
Name your integration (e.g., “NBA Slack Integration”)
Select the league
Provide the necessary authentication credentials (e.g., Slack bot token and channel ID)
After creation, you’ll see integration cards displaying:
Integration name
League
Channel/destination details
Controls for viewing, activating/deactivating, and deleting
To edit an integration, click the “View Integration” button on its card
To activate or deactivate, use the toggle switch
To delete, click the trash icon
Ensure you have active saved searches for the same league with integration enabled
API¶
List Integrations¶
GET https://api.sportscapital.io/v1/user/integration
Returns all your configured integrations with their IDs, types, and status.
Create an Integration¶
POST https://api.sportscapital.io/v1/user/integration
{
"name": "NBA Slack Integration",
"system": "Slack",
"league_id": "729c2399-f94a-4db3-9710-e2a5b3c4d0e3",
"payload": {
"slack_token": "slacktoken",
"channel_id": "channel"
}
}
Update an Integration¶
PUT https://api.sportscapital.io/v1/user/integration/{integration_id}
{
"name": "NBA Slack Integration",
"system": "Slack",
"league_id": "729c2399-f94a-4db3-9710-e2a5b3c4d0e3",
"payload": {
"slack_token": "slacktoken",
"channel_id": "channel"
},
"active": true
}
Delete an Integration¶
DELETE https://api.sportscapital.io/v1/user/integration/{integration_id}
For complete API documentation, see the API Reference.