XentrDeveloper Docs

Webhooks

Receive real-time events from Factory OS when production, quality, or machine state changes.

View as Markdown

Webhooks are on the roadmap and not yet generally available. This page documents the intended design — expect changes before launch.

How it will work

You register an HTTPS URL in your organization settings. Factory OS POSTs a JSON payload to that URL whenever a subscribed event fires.

Planned event catalog

EventWhen it fires
production_order.createdA new work order is opened
production_order.completedA work order is closed
machine.state_changedMachine transitions (running, idle, down)
quality.defect_loggedA defect is recorded
andon.calledAn andon escalation is raised
andon.resolvedAn andon is cleared

Signing

Payloads will be signed with HMAC-SHA256. Verify the X-Xentr-Signature header with your webhook secret before trusting the payload.

Retries

Failed deliveries (non-2xx response, timeout >10s) retry with exponential backoff up to 24 hours.


For now, poll the REST API or subscribe to Supabase realtime channels for live data.

On this page