Integrations, Webhooks & API
Connect TeamContext to GitHub, Slack, and Jira. Build custom integrations with the REST API, WebSockets, and webhooks.
GitHub Integration
Connect your GitHub organization to TeamContext for automatic commit tracking, deployment monitoring, and AI agent code scanning.
Setup
- Go to Settings → Integrations in the dashboard
- Click Connect GitHub — you'll be redirected to GitHub's OAuth flow
- Authorize TeamContext to access your repositories
- Back in TeamContext, click Manage Repos to select which repositories to link
Features
- Commit Tracking — All commits from linked repos appear in the dashboard
- Deployment Monitoring — Track deployments from GitHub Actions
- Repo Analysis — AI agents scan your repo's file tree for architecture, security, and performance issues
- Project Auto-Linking — Repos are automatically matched to TeamContext projects via git remote URL
Slack Integration
Connect Slack to receive TeamContext notifications in your team channels.
Setup
- Go to Settings → Integrations and click Connect Slack
- Authorize TeamContext in your Slack workspace
- Select the channel where notifications should be posted
Notifications Sent
- Conflict Alerts — When overlapping work is detected
- Summary Digests — Daily and weekly team summaries
- Agent Scan Results — When critical or high severity findings are detected
- Member Notifications — New member joins, handoff updates
Jira Integration
Link Jira projects to TeamContext to track issue status alongside your coding context.
Setup
- Go to Settings → Integrations and click Connect Jira
- Authorize TeamContext with your Atlassian account
- Select the Jira project to link to your TeamContext project
Features
- Project Linking — Link Jira projects to TeamContext projects
- Issue Tracking — View Jira issue status within TeamContext context
Webhooks
Receive real-time HTTP notifications when events occur in your TeamContext workspace.
Setup
Go to Settings → Webhooks and create a new webhook. Provide your endpoint URL and select which events to subscribe to.
Available Events
Security
Every webhook delivery is signed with HMAC-SHA256. Verify the signature using the X-TeamContext-Signature header and your webhook secret. The event type is in the X-TeamContext-Event header.
Delivery & Retries
- Failed deliveries retry 3 times with exponential backoff (1s, 2s, 4s)
- View delivery history with status, payload, and response for each attempt
- Test your endpoint with a test payload before going live
- Regenerate your webhook secret at any time from Settings
REST API
The TeamContext API powers the dashboard, CLI, and MCP server. You can use it directly to build custom integrations.
https://api.teamcontext.ai
https://api.teamcontext.ai/api/docs
60 req/min (global)
{ data, success, message }
Authentication
Two authentication methods are supported:
JWT access tokens expire after 15 minutes. Use the refresh token endpoint to get a new one. API keys don't expire but can be revoked from Settings.
Pagination
All list endpoints use cursor-based pagination:
Endpoint Groups
The API has 150+ endpoints organized into 20 groups. Full details are available in the interactive Swagger documentation.
/auth/*
/sessions/*
/turns/*
/decisions/*
/summaries/*
/handoffs/*
/plans/*
/tasks/* /sprints/*
/projects/*
/insights/*
/analytics/*
/search
/knowledge/*
/findings/*
/agents/*
/members/*
/notifications/*
/webhooks/*
/settings/*
/dashboard/*
Real-time WebSocket Events
TeamContext uses Socket.IO for real-time updates. Connect with a JWT token for authentication.
Events
On connection, clients auto-join their team:{teamId} room to receive team-scoped events.
OAuth 2.0 / OIDC
TeamContext supports full OAuth 2.0 with PKCE for MCP client authentication. This enables AI tools to authenticate securely without storing credentials.
Endpoints
Supports authorization_code and refresh_token grant types. PKCE (code_challenge + code_verifier) is required for all authorization requests.
Getting Started • CLI Reference • MCP Tools • Dashboard Guide