ERP
Developers

Build on Droot ERP. Ship it like software.

Droot ERP has a versioned REST API with an OpenAPI description, OAuth apps and API keys, signed webhooks, an OData feed, an MCP server for AI apps and SCIM for integrations, and the Apache-2.0 droot CLI, SDK and test harness for packages: start from a starter, test against an in-memory system, sign the package, and dry-run it before you install.

REST API v1

Everything on screen, over HTTP.

The API applies the same roles, rules and workflow as the screens, so an integration can never do what a user could not.

/api/v1/models/{model}/records
List, create, read and update records of any model.
…/records/{id}/transitions/{transition}
Move a record through its workflow, with the same rules as the screen.
/api/v1/views/{view}/actions/{action}
Run the actions a view offers, including bulk actions.
/api/v1/search
Search across records.
/api/v1/webhooks
Subscribe to events; deliveries are signed, retried with backoff, and replayable.
/api/v1/openapi
The OpenAPI description of the system you are calling.
/odata/v4
A read-only OData v4 feed of the semantic layer's read models, for Power BI, Tableau and Excel.
/api/analytics/feed/{key}
A read model's changes, incrementally with a cursor, for your data warehouse.
/mcp
The MCP server: AI apps sign in with OAuth and read as the person who connected them.
The droot CLI

From starter to signed package.

Apache-2.0. It talks to a system only over its HTTP APIs, so the same workflow works for cloud, on-premises and sandbox systems.

# Sign in to a system (tokens go to the OS keychain)
$ droot login
# Create a package from a starter, then add a record hook or scheduled job
$ droot app init
$ droot app code
# Check it against the published schemas and guidelines
$ droot app lint
# Run its tests against an in-memory system
$ droot app test
# Install it on a sandbox system and re-upload on every change
$ droot app dev --company DEV-01
# Generate typed models and the system's typed API client
$ droot types
# Create your publisher signing key, once
$ droot app keygen
# Build, sign and verify the archive
$ droot app pack
$ droot app sign
$ droot app verify
# Dry run on the target system, then install
$ droot app check
$ droot app install
# See installs, updates and roll backs on a system
$ droot app history
SDK

Tools that make packages boring to ship.

Code units

Record hooks, custom actions, transition hooks, event handlers and scheduled jobs, each added with a unit test.

Typed everything

droot types generates TypeScript types for your package's models and a typed API client for the system.

Tests that run anywhere

An in-memory system with your package installed, so tests run in CI without a server.

Sync connectors

droot connector init and test build integration-hub connectors, checked against stand-in servers.

Signed packages

Ed25519 publisher keys, signed archives, verification, and a dry-run check before anything installs.

Extension points

Declared extension points let packages add to the product without forking the core, with catalogs of every event and extension point.

Starters

Reference packages for droot app init: a small app, a connector with a signed inbound webhook, an extension of an existing screen, and a two-way sync connector.

Webhook tools

Pause and resume, replay from a time or an event, retry dead letters, rotate a secret with an overlap, and read the delivery log.

Semantic layer

Measures and dimensions named once and read the same way by reports, Droot AI, the OData feed and your own code.

Questions

Questions from developers.

Is there an API?

Yes. A versioned REST API (v1) covers records, workflow transitions, view actions, search and webhooks, with an OpenAPI description you can generate clients from.

How do integrations authenticate?

With OAuth apps that act for a person, or API keys for other systems, each key with only the capabilities it needs. The droot CLI signs in to a system and keeps its tokens in the operating system's keychain.

Can AI tools connect to Droot ERP?

Yes. The /mcp endpoint is an MCP server. Claude, ChatGPT, Cursor, VS Code and other MCP clients sign in with OAuth, read as the person, and can only suggest changes that the person applies in Droot ERP.

Can we build our own apps on Droot ERP?

Yes. Packages are built with the droot CLI from a starter, with code units such as record hooks and scheduled jobs, tested against an in-memory system, signed with your own key and installed as private packages.

Is the SDK open source?

The droot CLI, the TypeScript SDK, the test harness, the Droot Connect protocol package and the starters are licensed under Apache-2.0.

How reliable are webhooks?

Webhook deliveries are signed so you can verify they came from your system, and retried with backoff (8 tries by default). A delivery that still fails is dead-lettered in the delivery log, where you can retry it or replay events from a point in time. You can also pause a webhook while your receiver is down and rotate its secret with an overlap.

Building on Droot ERP?

Partners and in-house teams get a sandbox system and a walkthrough of the SDK.