API & SDK
Banchurn is built to connect. Send events with the JavaScript SDK or the ingest API, backfill in bulk from CSV or Stripe, subscribe to webhooks for anything that happens, and point an AI agent at the MCP server to operate the platform programmatically. Everything the product does is available over the API.
curl -X POST https://api.banchurn.com/v1/events \
-H "authorization: Bearer bnc_live_…" \
-H "content-type: application/json" \
-d '{
"email": "ana@naridon.example",
"event": "feature_used",
"traits": { "feature": "export_report" }
}'
# → 200 event recorded → segments, scoring & journeys updateEngagement tools are walled gardens with an export button
Data goes in through a snippet and comes out through a CSV, and anything in between means a fragile integration or a support ticket. Programmatic control, the kind an AI agent needs, usually isn't on the menu at all.
The flow, end to end
Authenticate
Mint a scoped key for your organization, or use the public SDK key in the browser.
Send events
Track from the SDK or push server-side over the ingest API.
Subscribe
Register webhooks to react to what happens inside Banchurn.
Automate
Point an AI agent at the MCP server and let it run segments, campaigns, and analysis.
What's in the box
JavaScript SDK
A small client for auto-tracking, identify, and custom events from the browser.
Event-ingest API
Push events server-side with a scoped key, resolving the customer by id or email.
Bulk import
Load customers and history from CSV, or sync subscriptions and revenue from Stripe.
Webhooks
Subscribe to platform events and receive outbound deliveries you can build on.
MCP server
A 100+ tool Model Context Protocol server lets an AI agent operate Banchurn directly.
Scoped keys
Mint organization-scoped API keys for exactly the integration you're building.
Every way in, onto one customer timeline
The SDK, the ingest API, bulk CSV, Stripe, and endpoint sync all resolve onto a single customer timeline by id or email. You choose the path that fits (a browser snippet, a server call, a nightly sync) and Banchurn does the reconciliation.
- ✓Browser SDK + server ingest + CSV + Stripe
- ✓Resolved by customer id or email into one timeline
- ✓Organization-scoped keys for each integration
curl -X POST https://api.banchurn.com/v1/events \
-H "authorization: Bearer bnc_live_…" \
-H "content-type: application/json" \
-d '{
"email": "ana@naridon.example",
"event": "feature_used",
"traits": { "feature": "export_report" }
}'
# → 200 event recorded → segments, scoring & journeys updateAn MCP server, so an AI can run the platform
Banchurn ships a Model Context Protocol server exposing its capabilities as tools (build a segment, launch a campaign, read analytics, inspect churn) so an AI agent can operate engagement end to end. It's the same platform, driven by a model instead of a mouse.
- ✓100+ tool MCP server for AI agent integration
- ✓Segments, campaigns, analytics, and churn as tools
- ✓Outbound webhooks to react to platform events
curl -X POST https://api.banchurn.com/v1/events \
-H "authorization: Bearer bnc_live_…" \
-H "content-type: application/json" \
-d '{
"email": "ana@naridon.example",
"event": "feature_used",
"traits": { "feature": "export_report" }
}'
# → 200 event recorded → segments, scoring & journeys updateEvent tracking & identity
Drop in one snippet to capture every event, identify every customer, and turn trait changes into signals.
Learn moreAutomations
A visual journey builder: trigger on any event or when a customer enters or leaves a lifecycle state, then send email or in-app, wait, branch, and act.
Learn moreProduct intelligence
Point your events at Banchurn and it names your features, maps your flows, and flags anomalies: heuristics first.
Learn moreStop losing customers you could have kept
Book a walkthrough and see churn prediction, account signals, segments, campaigns, destinations, and Autopilot working together, on one platform.