Skip to content

Developers

An API, webhooks and an MCP server.

Build on the same costed ledger the app runs on. API keys are scoped per company and role, and every call shows up in the audit log.

REST API

Read and write the same record the app uses.

Products, parts, kits, stock by location, orders, purchase orders and movements. Every write posts to the ledger with a reason code, exactly like the app.

curl https://api.torquill.com/v1/parts/PT-0412/stock \
  -H "Authorization: Bearer $TORQUILL_KEY"

{
  "sku": "PT-0412",
  "on_hand": 1248,
  "reserved": 54,
  "available": 1194,
  "by_location": {
    "main-warehouse": 626,
    "amazon-fba": 498,
    "walmart-wfs": 124
  }
}

Webhooks

Know when the count changes.

Subscribe to stock, order, PO and sync events. Payloads are signed, retried with backoff, and listed in the app with their delivery history.

{
  "event": "availability.changed",
  "sku": "KIT-STR-2PK",
  "available": 314,
  "previous": 316,
  "cause": { "type": "order", "id": "AMZ-114-2207" },
  "at": "2026-11-23T09:42:11Z"
}

MCP server

Connect your own AI tools to your inventory.

Torquill's MCP server lets assistants that support the Model Context Protocol read stock, kits, orders and reports with the permissions of the user who connected them.

{
  "mcpServers": {
    "torquill": {
      "url": "https://mcp.torquill.com",
      "auth": "oauth"
    }
  }
}

Want API access?

API keys are issued per company. Book a call and we'll set you up with a sandbox.