Generate an API Key
Where security requires that the Agent Key user access to Client information within N-sight RMM must be restricted, we recommend that the Agent Key Access is revoked.
When you use the Data Extraction API, you enter URL queries that require the API Key for your N-sight RMM account.
https://server/api/?apikey=yourAPIkey&service=service_name¶meter=xxx
To generate the API Key to query the N-sight RMM system:
The API Key is used to authenticate against the Public API. If you regenerate a new key, anything that uses the existing key to authenticate against the Public API will stop working. If you already have an API Key, we recommend you use it.
- Log in to N-sight RMM as a Superuser or (non-Classic) Administrator level access, or using a login with the required General permissions enabled, or using the Agent Key (if enabled).
- On the All Devices view, go to Settings > General Settings > API.
- Select Generate (or Regenerate when you are creating a new API Key) and record the API Key for future use.
You can generate the API Key as often as required. Each regeneration overwrites the existing key.
- Enter the recipient email address in the Email API Token to (optional) field and click Email Token (Optional).
The sent email includes the API Key and the server URL to query.
- Select OK to apply.
Where do you want to go?