Skip to main content

Try Door Ops free. No card. No automatic charge. Build better door-company software with us.

Free beta & paid plans

CLI

Script Door Ops
from the terminal.

The Door Ops CLI talks to the public REST API with an organisation API key. Use it for scripts and power-user workflows. For chat agents, prefer MCP with OAuth.

Install

Run from the package.

The CLI lives in the Door Ops monorepo under packages/cli. Use Bun or Node 22+.

# from the Door Ops repo

cd packages/cli

bun install

bun run doorops --help

# or link globally while developing

bun link

doorops auth login

  1. In Door Ops, open Settings → Developers and create an API key with the scopes you need.
  2. Run doorops auth login and paste your tenant base URL plus the key.
  3. Confirm with doorops whoami.

Commands

v1 command reference.

Customers and sites first. No deletes. No invoice writes.

CommandWhat it does
doorops auth loginStore base URL and API key after a successful ping
doorops auth statusShow configured organisation context without printing the key
doorops auth logoutRemove local credentials
doorops whoamiCall the API ping endpoint and show token abilities
doorops customers listList customers (optional --search, --page)
doorops customers get <id>Fetch one customer
doorops customers create --name=...Create a customer
doorops sites listList sites (optional --customer)
doorops sites get <id>Fetch one site
doorops sites create --customer= --name=...Create a site on a customer
doorops mcp urlPrint the tenant MCP URL helper for your configured host
doorops docsOpen the public developer hub

Need a chat agent instead?

MCP with OAuth is the path for Claude and ChatGPT. The CLI is for terminals and CI.

API key authOrg-scopedNo secret dumps