AI & API
Connect AI agents and other systems to NileWave, safely.
Settings → AI & API (admins and the owner).
Keys
New API key: name it after who will use it, pick the least it needs (only permissions you hold; never sensitive ones), and an expiry. The key is shown once. Revoke it on the same page; anything using it is refused at once. Each key shows when it was last used and how many calls it made in 30 days; every call is in the audit log.
Connecting
- AI agents (Claude, Hermes): the MCP address on the page, with the key.
- Scripts and other systems: REST,
POST …/v1/tools/<tool>with a JSON body; the page shows an example.…/v1/openapi.jsondescribes every tool the key may call (import it into Postman or any API tool).
What agents can do: find and read customers, subscriptions and what they owe, add a customer, open and note tickets, read the network's alerts and a customer's dish readings, check stock and serials, and send documents for signature. What they can never do: move money out, change the books, approve payments, or change the network.
Webhooks
Add webhook: an https address on the public internet and the events to
send (a customer added, a payment recorded, an install completed, a ticket
opened…). Copy the signing secret when it is shown: it is not shown again.
Each event arrives as a signed JSON POST; check the x-nilewave-signature
header with the secret. Failed deliveries are retried for about 15 hours; the
counts on the page show what was delivered, is waiting, or failed.