Generate the API Key

To create the N-sight RMM API Token used by RangerMSP for communication:

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.

  1. 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).
  2. On the All Devices view, go to Settings > General Settings > API.
  3. 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.

  4. 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.

  5. Select OK to apply.

The database server to query is dependent on the territory your account is registered under. The current territories and their URLs are:

Territory URL
France (FR)
United Kingdom
United States

For example, a user in the United Kingdom uses the server URL:

Determine API Server URL from N-sight RMM URL

If you are unsure of your N-sight RMM account territory:

  • Look at the URL you use to access N-sight RMM as it may include a region reference, or
  • If the URL does not mention a region, for example a custom domain, append /dashboard to one of above URLs and attempt login to your N-sight RMM at the prompt. Based on the United Kingdom this would look like:
  • If you cannot determine the region from a custom N-sight RMM URL. Open a command prompt or terminal on the device and perform an nslookup on the custom N-sight RMM URL:
  • nslookup dashboard.custom.domain
    Non-authoritative answer: