# Niotio

> Niotio is a web app for running Net Promoter Score (NPS) surveys: create a campaign, add respondents, email them a 0-10 survey, and read NPS metrics and comments. English and Danish UI.

- MCP server (recommended for agents): https://niotio.dk/mcp speaks the Model Context Protocol (JSON-RPC 2.0 over HTTP) with 35 tools that mirror the REST API and the CLI exactly — campaigns, metrics, email usage, respondents, survey responses, comment tags and comment search, and the follow-up cases behind every detractor. Authenticate with `Authorization: Bearer <API_TOKEN>`.
- REST API base URL: https://niotio.dk/api. Same token; users create tokens in the web app under Settings, and the raw token is shown once. Comment tags are first-class: search comments by text, tag, AI-vs-human source, rating and dates (`GET /api/comments`), and tag or untag one comment without replacing the rest.
- CLI: the `niotio` binary drives the same API. Configure it with the `NPS_URL` and `NPS_TOKEN` environment variables (or `niotio config`). Add `--json` for machine-readable output; destructive commands need `--yes` when non-interactive.
- Webhooks (Pro and Business): campaign and case events are POSTed to your URL, signed with an `X-NPS-Signature` header.
- Plans: Free 0 DKK/mo (100 survey emails, 1 seat, Niotio branding); Start 299 DKK/mo (1,000 emails, 2 seats); Pro 499 DKK/mo (3,000, 5 seats, webhooks, detractor case workflow, opt-in overage 15 DKK per 100); Business 999 DKK/mo (10,000, 15 seats, white label, overage). Yearly = 2 months free. Prices excl. VAT. API, CLI and MCP server on all plans. Paid plans are arranged by contacting us; no online payment yet.

## Docs

- [API docs](https://niotio.dk/api/docs.md): endpoints, auth, curl examples, email usage endpoint
- [OpenAPI spec](https://niotio.dk/api/openapi.json): every endpoint as an OpenAPI 3.1 document — auth scheme, path and query parameters, responses; generated from the same endpoint list as the API docs
- [Full docs in one file](https://niotio.dk/llms-full.txt): the product summary, API, CLI, webhooks and MCP in a single file
- [CLI guide](https://niotio.dk/cli.md): install, configuration, commands, scripting and exit codes
- [MCP server](https://niotio.dk/mcp.md): endpoint, client setup, tool reference, error shape
- [Webhooks](https://niotio.dk/webhooks.md): event envelope, X-NPS-Signature verification, retries, recipes

## Product

- [Pricing](https://niotio.dk/pricing): plans and prices excl. VAT (monthly or yearly; paid plans via contact, no online payment yet)
- [Landing page](https://niotio.dk/): what Niotio does, and how an agent connects over MCP
- [About](https://niotio.dk/about): who builds Niotio — one human founder and a team of AI assistants (labelled as bots, AI-generated portraits); what Niotio does today


## B2B service companies

- [NPS for service businesses](https://niotio.dk/nps-for-servicevirksomheder): how Danish service companies run NPS surveys and follow up on the answers
- [What is NPS?](https://niotio.dk/guides/nps-definition): the single 0-10 question, the three groups, and what the score does and does not say
- [How to calculate NPS](https://niotio.dk/guides/nps-beregning): promoters minus detractors, with a worked example and the caveats
- [NPS questions and templates](https://niotio.dk/guides/nps-spoergsmaal): wording, a short email template, timing and follow-up


## Optional

- [API docs (HTML)](https://niotio.dk/api/docs): the same API reference as a web page
- [CLI docs (HTML)](https://niotio.dk/cli): the CLI install page
- [MCP docs (HTML)](https://niotio.dk/mcp/docs): the MCP how-to as a web page
- [CLI installer](https://niotio.dk/cli/install.sh): `curl -fsSL https://niotio.dk/cli/install.sh | sh`
