The Nice Forms CLI is the official command-line client for the Nice Forms workspace API. It is aimed at developers and AI agents that need to list surveys, publish a questionnaire, or pull responses in a shell, CI job, or agent loop.
Install the tarball hosted at /cli.tgz, run it once with npx --package, or download /cli.mjs. Authenticate with a workspace API key created under Account → API in the Nice Forms dashboard. The CLI sends the same Bearer token the HTTP API expects and prints JSON on stdout so it can be piped into jq or another tool.
The CLI is not a second product: it calls GET /api/v1, /api/v1/me, /api/v1/surveys, publish, responses, webhooks, and related routes documented in the OpenAPI spec. If a command fails, the process exits non-zero and prints the JSON error object (code, message, hint).
Nice Forms CLI
npm install -g https://www.nice-forms.com/cli.tgz
export NICE_FORMS_API_KEY=nf_live_… export NICE_FORMS_BASE_URL=https://www.nice-forms.com nice-forms me nice-forms surveys list nice-forms surveys publish <id> nice-forms surveys responses <id> npx --package=https://www.nice-forms.com/cli.tgz nice-forms openapi