{"skill":{"slug":"inbox-zero-api","displayName":"Inbox Zero API CLI","summary":"Use the Inbox Zero API CLI to inspect the live API schema, list and manage automation rules, and read inbox analytics through the public API. Use this when a...","description":"---\nname: inbox-zero-api\ndescription: Use the Inbox Zero API CLI to inspect the live API schema, list and manage automation rules, and read inbox analytics through the public API. Use this when a task involves Inbox Zero rules, stats, or API-driven automation and can be solved through the CLI instead of browser interaction.\nhomepage: https://www.getinboxzero.com/api-reference/cli\nmetadata: { \"openclaw\": { \"skillKey\": \"inboxZeroApi\", \"requires\": { \"bins\": [\"inbox-zero-api\"], \"env\": [\"INBOX_ZERO_API_KEY\"] }, \"primaryEnv\": \"INBOX_ZERO_API_KEY\", \"install\": [ { \"id\": \"node\", \"kind\": \"node\", \"package\": \"@inbox-zero/api\", \"bins\": [\"inbox-zero-api\"], \"label\": \"Install Inbox Zero API CLI (npm)\" } ] } }\n---\n\n# Inbox Zero API CLI\n\nUse this skill when the task is to inspect or change Inbox Zero state through the public API.\n\n## Workflow\n\n1. Prefer `--json` so the output is stable and machine-readable.\n2. Keep credentials in `INBOX_ZERO_API_KEY` or OpenClaw skill config. Avoid passing API keys as CLI flags unless there is no alternative.\n3. Before creating or replacing a rule body, fetch the live schema with `inbox-zero-api openapi --json`.\n4. For create and update flows, write JSON into a workspace file or pipe it on stdin.\n5. Treat `rules update` as a full replacement. Read the current rule first if you only intend to change part of it.\n\n## Quick Start\n\n```bash\ninbox-zero-api rules list --json\ninbox-zero-api stats by-period --period week --json\ninbox-zero-api openapi --json\n```\n\nIf the CLI is not installed yet, install it with the OpenClaw installer or run `npm install -g @inbox-zero/api`.\n\n## OpenClaw Config\n\nSet the API key in `~/.openclaw/openclaw.json` under `skills.entries.inboxZeroApi.apiKey`, or export `INBOX_ZERO_API_KEY` in the host environment.\n\nUse `INBOX_ZERO_BASE_URL` or `inbox-zero-api config set base-url <url>` only for self-hosted or nonstandard deployments.\n\n## Reference\n\nFor exact command patterns and a safe mutation flow, read `references/cli-reference.md`.\n","tags":{"latest":"2.29.2"},"stats":{"comments":0,"downloads":543,"installsAllTime":20,"installsCurrent":0,"stars":0,"versions":1},"createdAt":1773587693166,"updatedAt":1778491928981},"latestVersion":{"version":"2.29.2","createdAt":1773587693166,"changelog":"Initial release — manage Inbox Zero rules and stats via the public API CLI","license":"MIT-0"},"metadata":{"setup":[{"key":"INBOX_ZERO_API_KEY","required":true}],"os":null,"systems":null},"owner":{"handle":"elie222","userId":"s172kd3kepwn82rk3xa1amfe25885c2t","displayName":"Elie Steinbock","image":"https://avatars.githubusercontent.com/u/3090527?v=4"},"moderation":null}