Embedded API
Transactional workforce systems (HRIS, payroll, ATS, LMS, time and attendance) record outcomes after they happen. The behaviors that produce those outcomes go unmeasured. MustardHub embeds as a predictive layer that ingests historical, transactional, and existing behavioral records, applies behavioral models, and returns forward-looking intelligence to the partner platform. The partner keeps the customer surface. MustardHub powers what the surface predicts.
Environments
Partner credentials are issued for two environments: a sandbox populated with synthetic worker data for integration testing, and production for live partner traffic. Both speak the same request and response shape; sandbox responses are flagged so partners can branch on them in analytics and logging pipelines. Sandbox is available throughout integration design; production credentials are issued at go-live.
Architecture
A three-layer model: partner data sources on one side, MustardHub’s inference layer in the middle, predictive output on the other. The partner platform never relinquishes its customer surface; it gains a forward-looking signal stream that no transactional system can produce on its own.
- HRIS, payroll
- ATS, LMS
- Time and attendance
- Scheduling
- Lifecycle events
- Schema normalization
- Behavioral model
- Cross-network signal
- Confidence calibration
- Risk index, churn trajectory
- Cost of churn vs retention
- Readiness signal
- Recommended actions
Authentication
Authentication uses a Bearer API key issued at onboarding and scoped to the partner-tenant context. Keys are passed in the standard Authorization header on every request. Key rotation is partner-initiated and supported with a grace period for safe rollover. For partners whose procurement requires OAuth 2.0 client credentials, that flow is available on request and scoped during integration design.
GET {signal_endpoint} HTTP/1.1
Host: {issued at onboarding}
Authorization: Bearer {partner_api_key}
Accept: application/json
What your platform receives
MustardHub returns predictive signals grouped by intent. Each signal is calibrated to the model’s confidence against your platform’s data shape, and each is addressable independently so the partner product team can surface only what the customer surface is ready to act on.
- Risk index
- Churn risk level
- 30, 60, and 90-day churn trajectories
- Cost of churn
- Cost of retention
- Cost vs retention value comparison
- Readiness signal
- Time to hire
- Composite signal strength
- Recommended retention actions
- Action priority and rationale
- Suggested cadence
Sample signal response
Returned for a single worker. Field names, grouping, and value formats are illustrative. The final schema is calibrated to the partner’s data shape and the maturity of the model against it during integration scoping.
{
"worker_id": "wkr_4f9c2a8b",
"tenant_id": "tnt_acme",
"generated_at": "2026-05-16T14:22:08Z",
"model_version": "stable",
"risk_index": 0.74,
"risk_level": "elevated",
"confidence": 0.81,
"risk_trajectory": [
{ "horizon_days": 30, "value": 0.41 },
{ "horizon_days": 60, "value": 0.58 },
{ "horizon_days": 90, "value": 0.71 }
],
"economics": {
"cost_of_churn": 18400,
"cost_of_retention": 2200,
"retention_value_ratio": 8.36,
"currency": "USD"
},
"operational": {
"readiness_signal": "needs_intervention",
"time_to_hire_days": 47,
"composite_signal_strength": 0.81
},
"action": {
"recommended_actions": [
{
"action_id": "act_mgr_checkin",
"type": "manager_conversation",
"priority": "high",
"rationale": "tenure_band_dropoff"
},
{
"action_id": "act_recognition_nudge",
"type": "recognition_prompt",
"priority": "medium",
"rationale": "engagement_decay_pattern"
}
]
}
}
Joint projections
The signals MustardHub returns are designed to be composed with your platform’s own data. When a partner’s transactional context is paired with MustardHub’s behavioral model, the output is a forward-looking metric that neither side could produce on its own. The partner platform owns the composition. MustardHub provides the predictive substrate.
The patterns below are illustrative. They are not API endpoints. They show the shape of what becomes possible when a partner combines its system-of-record data with the signal output described above.
What MustardHub ingests
The ingestion layer accepts the partner platform’s existing data shape. A schema mapping and normalization step during the integration engagement establishes how each data category enters the behavioral model.
- Demographics and tenure. Anchors band cohorts and lifecycle phase weighting.
- Payroll. Variance, timing, and adjustment patterns inform compensation-driven attrition risk.
- HRIS. Role, level, manager, and structural moves feed manager-effect and role-fit models.
- LMS. Completion, recency, and skill velocity contribute to readiness and growth signals.
- Time and attendance. Patterns precede disengagement well before stated intent appears.
- Scheduling. Volatility and preference fulfillment feed retention and burnout indicators.
- Employee lifecycle events. Transitions, transfers, and leave events recalibrate trajectories.
- Onboarding data. Early-tenure signal that materially anchors 90-day risk projection.
- ATS and recruiting data. Time to hire, source quality, and offer dynamics feed the operational layer.
- Compliance data. Certifications, training cycles, and policy acknowledgements shape operational readiness.
MustardHub’s ingestion layer is designed to accommodate any combination of these data categories at any level of completeness. Partners do not need to provide the full set to receive meaningful predictive output. A platform with only HRIS and payroll data, or only scheduling and time and attendance, will surface insights calibrated to what it can provide. MustardHub’s structural advantage is cross-network behavioral signal, which lets the model fill in pattern recognition that no single partner’s dataset can likely produce on its own. Initial integration includes a data discovery and normalization phase that maps your platform’s specific schema and available categories to MustardHub’s behavioral model.
Webhook events
Signal updates are delivered via webhook to a partner-supplied endpoint. Events carry an idempotency key so the partner platform can safely deduplicate retries, and MustardHub retries with exponential backoff on non-2xx responses for up to 24 hours.
{
"event_id": "evt_7a2c91f4",
"event_type": "signal.updated",
"occurred_at": "2026-05-16T14:22:08Z",
"idempotency_key": "wkr_4f9c2a8b:2026-05-16T14:22:08Z",
"tenant_id": "tnt_acme",
"data": {
"worker_id": "wkr_4f9c2a8b",
"previous_risk_level": "moderate",
"current_risk_level": "elevated",
"signal_url": "https://api.mustardhub.com/v1/signals/wkr_4f9c2a8b"
}
}
Integration engagement model
Integration is phased to match the maturity of the partner’s data and the calibration of the model against it. Phases gate forward on signal confidence, not on a calendar.
The Embedded API is offered to partners under a scoped integration engagement. Final endpoint URLs, model coverage, signal availability, and ingestion pathways are calibrated jointly during onboarding. Self-serve API access is not currently published; partner technical guides and credentials are issued as part of the partner program.
Security and operations
Encryption in transit (TLS) and at rest (AWS standard). Partner-scoped OAuth credentials with tenant isolation. Hosted on Railway with North American data residency. Sub-processors: Stripe (payments), Giftbit (redemption fulfillment), Railway and AWS (infrastructure).
Detailed security documentation and infrastructure overview available on request during partner evaluation.