Try Door Ops free. No card. No automatic charge. Build better door-company software with us.
Free beta & paid plansCLI
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
- In Door Ops, open Settings → Developers and create an API key with the scopes you need.
- Run
doorops auth loginand paste your tenant base URL plus the key. - Confirm with
doorops whoami.
Commands
v1 command reference.
Customers and sites first. No deletes. No invoice writes.
| Command | What it does |
|---|---|
| doorops auth login | Store base URL and API key after a successful ping |
| doorops auth status | Show configured organisation context without printing the key |
| doorops auth logout | Remove local credentials |
| doorops whoami | Call the API ping endpoint and show token abilities |
| doorops customers list | List customers (optional --search, --page) |
| doorops customers get <id> | Fetch one customer |
| doorops customers create --name=... | Create a customer |
| doorops sites list | List sites (optional --customer) |
| doorops sites get <id> | Fetch one site |
| doorops sites create --customer= --name=... | Create a site on a customer |
| doorops mcp url | Print the tenant MCP URL helper for your configured host |
| doorops docs | Open 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