Skip to content
Documentation
Updated 11 minutes to read
Markdown

Everything you do in the Nodinite Web Client goes through the Web API. Your own scripts, services, and DevOps pipelines can call the same REST operations: add or update Integrations in the Repository Model as part of a release, read monitoring state for an intranet page, or change run-time behavior from your own apps.

This page is the starting point for programmatic access. It explains how authentication works, how to find the operations you need, which System Parameters the Web API reads and changes, and when to use the Web API instead of the AI-driven MCP Endpoint. The step-by-step guides with code are in the Scenarios.

  • ✅ Automate documentation and configuration as part of your DevOps and CI/CD pipelines
  • ✅ Call REST operations from PowerShell, curl, C#, Python, Node.js, or any HTTP client
  • ✅ Authenticate with Windows Authentication or OAuth 2.0 client credentials
  • ✅ Get deterministic results: the same request returns the same data, every time

List Monitor Views from the Web API in Scalar, animated walkthrough (7.12)
Animated walkthrough: in Scalar, Test Request on GET /api/MonitorViews with a filter returns the matching Monitor Views as JSON.

graph LR subgraph Callers["Your code"] Script["fa:fa-terminal Script or scheduled job"] Pipeline["fa:fa-code-branch CI/CD pipeline"] Service["fa:fa-gears Service or app"] end IdP["fa:fa-id-card Identity provider
OAuth 2.0 mode only"] API["fa:fa-cloud-sun Nodinite Web API"] Roles["fa:fa-user-shield Nodinite Roles"] Audit["fa:fa-scroll Log Audits"] DB["fa:fa-database Databases"] Script --> API Pipeline -->|1. Get token| IdP Pipeline -->|2. Bearer token| API Service --> API API --> Roles API --> DB API --> Audit style API fill:#2678BD,color:#fff style IdP fill:#9E59BB,color:#fff style Roles fill:#3F827B,color:#fff

Your code calls the Web API (blue) directly with a Windows identity, or first gets a token from the identity provider (purple) in OAuth 2.0 mode. Nodinite Roles (green) limit what each caller can see and do, and changes are recorded in Log Audits.

Component Role
Web API The REST API behind the Web Client. Every operation you can do in the Web Client is available here.
Authentication mode Windows Authentication, or OpenID Connect / OAuth 2.0, set per environment in the Nodinite Portal (Auth step). It decides how your code proves who it is.
Nodinite Roles Decide what a caller can access. Give each script or service its own identity with only the permissions it needs.
Scalar and Swagger Interactive API references at /scalar and /swagger on the Web API site. Use them to find operations, see request and response models, and test calls. See Find Operations in Scalar or Swagger.
Log Audits Records every change, and sensitive actions such as message views, with the identity that made the call.

Your environment's authentication mode decides the method. Follow the matching scenario:

Windows Authentication OAuth 2.0 client credentials
Environment mode Windows Authentication OpenID Connect / OAuth 2.0
Caller identity Windows user or service account App registration (client ID and secret or certificate)
What the script sends Nothing extra; the HTTP client negotiates Kerberos/NTLM Authorization: Bearer <access token>
Runs well on Domain-joined Windows hosts Anywhere: Linux, containers, cloud CI/CD agents
Access in Nodinite User or Windows AD Group → Role App role → Claim → Policy → Role
Guide Call the Web API with Windows Authentication Call the Web API with OAuth 2.0 Client Credentials

For OAuth configuration of the environment itself, see Install Nodinite v7 - OpenID. The Web API Audiences value, which your client's token must be issued for, is set in the Portal in the Auth step, Web API section. In Windows Authentication mode, the Web API's service identity is set in the Auth step, Service Account Defaults, or per service in the Servers step.

Nodinite offers two ways for software to work with your environment. They solve different problems:

Web API MCP Endpoint
Behavior Deterministic: the same request returns the same result AI-driven: a language model decides which tools to call, so answers can vary between runs
Caller Your code: scripts, services, pipelines AI tools: VS Code, Claude Desktop, Cline, and other MCP clients
Input Exact REST requests Natural-language questions
Access Read and change data, limited by the caller's Nodinite Roles Read-only tools, see the MCP Tool Reference
Best for Automation, CI/CD, integrations, reports, anything that must be repeatable and testable Exploring the Repository Model, impact analysis, generating C4 diagrams, ad-hoc questions
Hosting Its own IIS web site and port, set in the Portal (Servers step) Its own IIS web site and port, set in the Portal (Servers step); see MCP Endpoint (Core Services)
OAuth audience (OAuth mode) Set in the Portal, Auth step, Web API Set in the Portal, Auth step, MCP Server
Guide This page and the Scenarios MCP Endpoint, Set up the MCP Endpoint, and MCP Endpoint External Access

Where to go next, depending on what you want to do with the MCP Endpoint:

In Nodinite v7, each environment's Web API is its own IIS web site with its own port, and the operations are served from the root of that site. The base URL is the scheme, host, and port, for example https://nodinite.contoso.com:40001. The port is set for each environment in the Nodinite Portal, under Core platform services in the Servers step, so yours probably differs from the examples. The host name (FQDN) and the TLS certificate are set in the same step, under Core host Configuration. The examples use <webapi-base-url> for this address.

What URL Example
Operations <webapi-base-url>/api/... https://nodinite.contoso.com:40001/api/Users/whoami
Scalar (recommended) <webapi-base-url>/scalar https://nodinite.contoso.com:40001/scalar
Swagger <webapi-base-url>/swagger https://nodinite.contoso.com:40001/swagger
Health check endpoint <webapi-base-url>/isalive, also /api/IsAlive and /WebAPI/IsAlive https://nodinite.contoso.com:40001/isalive returns true, without credentials

Browser showing the Web API health check at /isalive on port 40001 returning true
Example of the Web API health check: /isalive at the root of the Web API site returns true.

The Web API comes with two interactive API references. Both list every operation with its parameters and request and response models, and both let you send test requests as the signed-in user before you script the call.

Scalar Swagger
Address <webapi-base-url>/scalar <webapi-base-url>/swagger
Browse and search operations ✅ Yes ✅ Yes
Send test requests ✅ Yes, Test Request ✅ Yes, Try it out
Ready-to-use code snippets ✅ Yes, in many languages, such as C# HttpClient, PowerShell, Python, and curl curl only
Future Recommended May be removed in a future version

Scalar sends its test requests to the Web API the page was opened from. In Windows Authentication mode, the browser signs the call in with your Windows identity, so a test request works without extra headers. In OAuth 2.0 mode, Scalar sends no token: add the Authorization: Bearer <access token> header yourself. The walkthrough at the top of this page does this:

  1. Open <webapi-base-url>/scalar and find the operation, for example GET /api/MonitorViews.
  2. Select Test Request, fill in the query parameters you need, such as filter, and select Send.
  3. Read the JSON response, here 200 OK with the matching Monitor Views.

Scalar API reference showing the GET /api/Users/whoami operation with a C# HttpClient snippet (7.12)
Scalar groups the operations by area, generates a code snippet for the selected language, and shows the response models for each status code.

Swagger UI showing a successful call to GET /api/Users/whoami (7.12)
In Swagger, Try it out and Execute send the request and show the curl command, the request URL, and the response body.

Most operations return their data under Collection.Items[].Data, as the whoami response above shows. For example, the first Integration Id from api/integrations is Collection.Items[0].Data.IntegrationId.

Language OAuth 2.0 client credentials Windows Authentication
curl curl Not covered
PowerShell (Invoke-RestMethod) PowerShell PowerShell
C# (.NET) C# with MSAL C# with HttpClient
Python Python with requests Python on Windows and Linux
Node.js Node.js with fetch Node.js with httpntlm

Any language with an HTTP client works the same way. Scalar also generates a starting snippet for each operation in many languages; add authentication as shown in the scenarios. For Java, request a token as in the curl example and send it in the Authorization header.

  • Documentation as part of DevOps: create or update Integrations and other Repository Model artifacts from your build and release pipeline, so the documentation never falls behind.
  • Run-time changes: change settings and behavior from your own apps and scripts.
  • Data for other systems: read data for your intranet, wiki, custom portals, and reports.

System Parameters are environment-wide settings stored in the SystemParameters table of the Configuration Database. The Web API reads some of them, and it hosts the operations that change them, both for the Web Client and for your own scripts. How to change a value in the Web Client, the data types, and how fast a change takes effect are explained once, in Manage System Parameters. No System Parameter needs a restart of the Web API: v7 caches each value for about 15 seconds.

System Parameter What the Web API uses it for
CustomerName and ProductKey 🔒 Licence check. Read-only in System Parameters; change them in Manage License.
DaysToKeepMessageContextDefault, DaysToKeepMessageDataDefault, DaysToKeepMessageEventsDefault Default retention copied onto a Message Type when it is created. Existing Message Types keep their own values.
ProductArtifactsPath Finds and calls the Logging Service and the Monitoring Service. Set by the installer; change it only when Support asks you to.
SharedFilePolicy Which file types users may upload to the File Library, and how Shared File links open.
SqlServer The SQL Server and Linked Server name used for queries across Log Databases. Set during installation.
UseActiveDirectoryGroups Turns the Windows AD Groups feature on or off, so that Roles can be granted to Active Directory groups.

Change System Parameters Through the Web API

Section titled “Change System Parameters Through the Web API”

Deployment and automation scripts can change values with the same operations the Web Client uses. Find them in Scalar at <webapi-base-url>/scalar, and authenticate as described in Choose Your Authentication Method.

Operation What it does
PUT api/SystemParameters/{key} Changes the value of {key}. The caller needs the Administrator Role. New 7.12 An unknown {key} answers 404 Not Found.
POST api/SystemParameters/{key}/ValidateJson Validates a JSON value for {key} without saving it. Works for the json parameters that have a validator; other keys return not implemented.

The MaintenanceMode System Parameter was removed in Nodinite 7.12; scripts that set it with PUT api/SystemParameters/MaintenanceMode must drop that call. To warn users about planned maintenance and mute alerts, use Maintenance Mode in User Notifications. To pause the Logging Service and the Monitoring Service, use Stop on the Log Databases page.

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...