N-able N-central

App · 25 actions

Work with your N-able N-central server: find devices and their monitoring status and active issues, run repository scripts on a device, update asset and custom property details, and manage customers and sites.

Actions

ActionWhat it does
Create customerAdd a customer under a service organization, with its main contact and address.
Create siteAdd a site under a customer, with its main contact and address.
Get customerGet one customer with its contact and address.
Get deviceGet one device: its name, class, operating system, customer, site and when its agent last checked in.
Get device lifecycle detailsGet a device's warranty, lease, purchase and replacement dates, cost, location and asset tag.
Get device monitoring statusGet the state of each monitoring service on a device (CPU, disk, backup and so on) and when it last changed.
Get organization unitGet one organization unit with its type, parent, contact and address.
Get registration tokenGet the token agents use to register new devices to a customer or site, and when it expires.
Get siteGet one site with its customer, contact and address.
Get taskGet a scheduled task: its name, type, repository item, customer and devices.
Get task statusGet how a task went: a count by status, and each device's status and output.
List active issuesList the monitoring services that are failing or warning on the devices of a customer, site or service organization.
List customersList the customers of a service organization, one page at a time.
List device custom propertiesList a device's custom properties and their values.
List device filtersList the saved device filters, to use with 'List devices'.
List device tasksList the scheduled tasks set up on a device, with their status.
List devicesList the devices the API user can see, optionally through one of N-central's saved device filters, one page at a time.
List devices of an organization unitList the devices of one customer, site or service organization, one page at a time.
List organization unitsList every organization unit (service organizations, customers and sites) the API user can see, one page at a time.
List service organizationsList the service organizations on the N-central server.
List sitesList every site the API user can see, one page at a time.
List usersList the N-central users of an organization unit, with whether each is enabled, locked or API only.
Run device taskRun a script or automation policy from N-central's repository on one device now.
Set device custom propertySet the value of one of a device's custom properties.
Update device lifecycle detailsChange some of a device's asset lifecycle details.

Create customer

Add a customer under a service organization, with its main contact and address.

Inputs

Service organizationservice_org_idtextRequired
The service organization. Pick one, or give its id.
Customer namecustomer_nametextRequired
The new customer's name.
Contact first namecontact_first_nametextRequired
The main contact's first name.
Contact last namecontact_last_nametextRequired
The main contact's last name.
Contact emailcontact_emailtext
The main contact's email address.
Contact phonecontact_phonetext
The main contact's phone number.
Street addressstreet1text
The street address.
Citycitytext
The city.
State or provincestate_provtext
The state or province.
Countrycountrytext
The two-letter country code, such as US or GB.
Postal codepostal_codetext
The postal or ZIP code.
External IDexternal_idtext
Your own id for it, such as its id in your PSA.

Outputs

customerobject
The customer as N-central saved it
customer_idtext
The new customer's id, when N-central gives it
Example output
{
  "customer": {
    "city": "Springfield",
    "contactEmail": "jo@example.com",
    "contactFirstName": "Jo",
    "contactLastName": "Bloggs",
    "contactPhone": "+1 555 0100",
    "country": "US",
    "customerName": "Acme Corp",
    "externalId": "",
    "postalCode": "62701",
    "stateProv": "IL",
    "street1": "1 Main Street"
  },
  "customer_id": ""
}

Create site

Add a site under a customer, with its main contact and address.

Inputs

Customercustomer_idtextRequired
The customer. Pick one, or give its id.
Site namesite_nametextRequired
The new site's name.
Contact first namecontact_first_nametextRequired
The main contact's first name.
Contact last namecontact_last_nametextRequired
The main contact's last name.
Contact emailcontact_emailtext
The main contact's email address.
Contact phonecontact_phonetext
The main contact's phone number.
Street addressstreet1text
The street address.
Citycitytext
The city.
State or provincestate_provtext
The state or province.
Countrycountrytext
The two-letter country code, such as US or GB.
Postal codepostal_codetext
The postal or ZIP code.
External IDexternal_idtext
Your own id for it, such as its id in your PSA.

Outputs

site_idtext
The new site's id
Example output
{
  "site_id": "202"
}

Get customer

Get one customer with its contact and address.

Inputs

Customercustomer_idtextRequired
The customer. Pick one, or give its id.

Outputs

customerobject
A customer
Example output
{
  "customer": {
    "city": "Springfield",
    "contactEmail": "jo@example.com",
    "contactFirstName": "Jo",
    "contactLastName": "Bloggs",
    "contactPhone": "+1 555 0100",
    "country": "US",
    "customerId": "101",
    "customerName": "Acme Corp",
    "externalId": "",
    "orgUnitType": "CUSTOMER",
    "parentId": "50",
    "postalCode": "62701",
    "stateProv": "IL",
    "street1": "1 Main Street"
  }
}

Get device

Get one device: its name, class, operating system, customer, site and when its agent last checked in.

Inputs

Device IDdevice_idtextRequired
The device's id, a number from 'List devices' or an earlier step.

Outputs

deviceobject
A device
Example output
{
  "device": {
    "customerId": 101,
    "customerName": "Acme Corp",
    "description": "Domain controller",
    "deviceClass": "Servers - Windows",
    "deviceId": 1001,
    "lastApplianceCheckinTime": "2026-11-30T09:00:00Z",
    "lastLoggedInUser": "ACME\\admin",
    "longName": "ACME-DC01",
    "orgUnitId": 202,
    "siteId": 202,
    "siteName": "Acme HQ",
    "supportedOs": "Microsoft Windows Server 2022 Standard"
  }
}

Get device lifecycle details

Get a device's warranty, lease, purchase and replacement dates, cost, location and asset tag.

Inputs

Device IDdevice_idtextRequired
The device's id, a number from 'List devices' or an earlier step.

Outputs

lifecycle_infoobject
The device's asset lifecycle details
Example output
{
  "lifecycle_info": {
    "assetTag": "ACME-0042",
    "cost": 2400,
    "description": "",
    "expectedReplacementDate": "2029-06-30",
    "leaseExpiryDate": "",
    "location": "Server room",
    "purchaseDate": "2024-06-30",
    "warrantyExpiryDate": "2027-06-30"
  }
}

Get device monitoring status

Get the state of each monitoring service on a device (CPU, disk, backup and so on) and when it last changed.

Inputs

Device IDdevice_idtextRequired
The device's id, a number from 'List devices' or an earlier step.

Outputs

countnumber
How many were returned
serviceslist
The monitoring services
Example output
{
  "count": 1,
  "services": [
    {
      "applianceName": "ACME-DC01",
      "lastScanTime": "2026-11-30T09:00:00Z",
      "moduleName": "Disk",
      "stateStatus": "Normal",
      "taskId": 5001,
      "transitionTime": "2026-11-01T09:00:00Z"
    }
  ]
}

Get organization unit

Get one organization unit with its type, parent, contact and address.

Inputs

Organization unitorg_unit_idtextRequired
The customer, site or service organization. Pick one, or give its id.

Outputs

org_unitobject
An organization unit
Example output
{
  "org_unit": {
    "city": "Springfield",
    "contactEmail": "jo@example.com",
    "contactFirstName": "Jo",
    "contactLastName": "Bloggs",
    "contactPhone": "+1 555 0100",
    "country": "US",
    "externalId": "",
    "orgUnitId": "101",
    "orgUnitName": "Acme Corp",
    "orgUnitType": "CUSTOMER",
    "parentId": "50",
    "postalCode": "62701",
    "stateProv": "IL",
    "street1": "1 Main Street"
  }
}

Get registration token

Get the token agents use to register new devices to a customer or site, and when it expires.

Inputs

Organization unitorg_unit_idtextRequired
The customer or site. Pick one, or give its id.

Outputs

expiry_datetext
When it expires
registration_tokentext
The registration token
Example output
{
  "expiry_date": "2026-12-30T00:00:00Z",
  "registration_token": "a1b2c3d4-0000-1111-2222-333344445555"
}

Get site

Get one site with its customer, contact and address.

Inputs

Site IDsite_idtextRequired
The site's id, from 'List sites' or an earlier step.

Outputs

siteobject
A site
Example output
{
  "site": {
    "city": "Springfield",
    "contactEmail": "jo@example.com",
    "contactFirstName": "Jo",
    "contactLastName": "Bloggs",
    "contactPhone": "+1 555 0100",
    "country": "US",
    "externalId": "",
    "orgUnitType": "SITE",
    "parentId": "101",
    "postalCode": "62701",
    "siteId": "202",
    "siteName": "Acme HQ",
    "stateProv": "IL",
    "street1": "1 Main Street"
  }
}

Get task

Get a scheduled task: its name, type, repository item, customer and devices.

Inputs

Task IDtask_idtextRequired
The task's id, from 'Run device task' or 'List device tasks'.

Outputs

taskobject
A scheduled task
Example output
{
  "task": {
    "customerId": 101,
    "deviceIds": [
      1001
    ],
    "isEnabled": true,
    "itemId": 42,
    "name": "Clear temp files",
    "taskId": 9001,
    "type": "Script"
  }
}

Get task status

Get how a task went: a count by status, and each device's status and output.

Inputs

Task IDtask_idtextRequired
The task's id, from 'Run device task' or 'List device tasks'.

Outputs

deviceslist
Each device's result
status_countsobject
How many devices are in each status, by status
task_nametext
The task's name
Example output
{
  "devices": [
    {
      "deviceId": 1001,
      "deviceName": "ACME-DC01",
      "message": "",
      "output": "Removed 120 files",
      "status": "Completed"
    }
  ],
  "status_counts": {
    "Completed": 1
  },
  "task_name": "Clear temp files"
}

List active issues

List the monitoring services that are failing or warning on the devices of a customer, site or service organization.

Inputs

Organization unitorg_unit_idtextRequired
The customer, site or service organization. Pick one, or give its id.
Pagepage_numbernumber
Which page to get, from 1. Defaults to the first.At least 1.
Page sizepage_sizenumber
How many to return, 1 to 1000. N-central's default is 50.From 1 to 1000.

Outputs

countnumber
How many were returned
issueslist
The active issues
page_numbernumber
The page returned, from 1
total_itemsnumber
How many there are in all
total_pagesnumber
How many pages there are
Example output
{
  "count": 1,
  "issues": [
    {
      "deviceId": 1001,
      "notificationState": 2,
      "orgUnitId": 202,
      "serviceName": "Disk",
      "serviceType": "Monitoring",
      "taskId": 5001
    }
  ],
  "page_number": 1,
  "total_items": 1,
  "total_pages": 1
}

List customers

List the customers of a service organization, one page at a time.

Inputs

Service organizationservice_org_idtextRequired
The service organization. Pick one, or give its id.
Pagepage_numbernumber
Which page to get, from 1. Defaults to the first.At least 1.
Page sizepage_sizenumber
How many to return, 1 to 1000. N-central's default is 50.From 1 to 1000.

Outputs

countnumber
How many were returned
customerslist
The customers
page_numbernumber
The page returned, from 1
total_itemsnumber
How many there are in all
total_pagesnumber
How many pages there are
Example output
{
  "count": 1,
  "customers": [
    {
      "city": "Springfield",
      "contactEmail": "jo@example.com",
      "contactFirstName": "Jo",
      "contactLastName": "Bloggs",
      "contactPhone": "+1 555 0100",
      "country": "US",
      "customerId": "101",
      "customerName": "Acme Corp",
      "externalId": "",
      "orgUnitType": "CUSTOMER",
      "parentId": "50",
      "postalCode": "62701",
      "stateProv": "IL",
      "street1": "1 Main Street"
    }
  ],
  "page_number": 1,
  "total_items": 1,
  "total_pages": 1
}

List device custom properties

List a device's custom properties and their values.

Inputs

Device IDdevice_idtextRequired
The device's id, a number from 'List devices' or an earlier step.

Outputs

countnumber
How many were returned
propertieslist
The custom properties
Example output
{
  "count": 1,
  "properties": [
    {
      "propertyId": 300,
      "propertyName": "Backup plan",
      "propertyType": "TEXT",
      "value": "Gold"
    }
  ]
}

List device filters

List the saved device filters, to use with 'List devices'.

Inputs

Which filtersview_scopetext
All filters (default), or only your own and ones you use.One of: ALL (All filters), OWN_AND_USED (My own filters and ones I use).
Pagepage_numbernumber
Which page to get, from 1. Defaults to the first.At least 1.
Page sizepage_sizenumber
How many to return, 1 to 1000. N-central's default is 50.From 1 to 1000.

Outputs

countnumber
How many were returned
filterslist
The filters
page_numbernumber
The page returned, from 1
total_itemsnumber
How many there are in all
total_pagesnumber
How many pages there are
Example output
{
  "count": 1,
  "filters": [
    {
      "description": "",
      "filterId": "77",
      "filterName": "Windows servers"
    }
  ],
  "page_number": 1,
  "total_items": 1,
  "total_pages": 1
}

List device tasks

List the scheduled tasks set up on a device, with their status.

Inputs

Device IDdevice_idtextRequired
The device's id, a number from 'List devices' or an earlier step.

Outputs

countnumber
How many were returned
taskslist
The tasks
Example output
{
  "count": 1,
  "tasks": [
    {
      "status": "Completed",
      "taskId": 9001,
      "taskName": "Clear temp files"
    }
  ]
}

List devices

List the devices the API user can see, optionally through one of N-central's saved device filters, one page at a time.

Inputs

Device filterfilter_idtext
Only devices this saved filter matches. Leave blank for all.
Pagepage_numbernumber
Which page to get, from 1. Defaults to the first.At least 1.
Page sizepage_sizenumber
How many to return, 1 to 1000. N-central's default is 50.From 1 to 1000.
Sort bysort_bytext
The name of a field to sort by, such as longName.
Sort ordersort_ordertext
Ascending (default) or descending.One of: asc (Ascending), desc (Descending).

Outputs

countnumber
How many were returned
deviceslist
The devices
page_numbernumber
The page returned, from 1
total_itemsnumber
How many there are in all
total_pagesnumber
How many pages there are
Example output
{
  "count": 1,
  "devices": [
    {
      "customerId": 101,
      "customerName": "Acme Corp",
      "description": "Domain controller",
      "deviceClass": "Servers - Windows",
      "deviceId": 1001,
      "lastApplianceCheckinTime": "2026-11-30T09:00:00Z",
      "lastLoggedInUser": "ACME\\admin",
      "longName": "ACME-DC01",
      "orgUnitId": 202,
      "siteId": 202,
      "siteName": "Acme HQ",
      "supportedOs": "Microsoft Windows Server 2022 Standard"
    }
  ],
  "page_number": 1,
  "total_items": 1,
  "total_pages": 1
}

List devices of an organization unit

List the devices of one customer, site or service organization, one page at a time.

Inputs

Organization unitorg_unit_idtextRequired
The customer, site or service organization. Pick one, or give its id.
Pagepage_numbernumber
Which page to get, from 1. Defaults to the first.At least 1.
Page sizepage_sizenumber
How many to return, 1 to 1000. N-central's default is 50.From 1 to 1000.

Outputs

countnumber
How many were returned
deviceslist
The devices
page_numbernumber
The page returned, from 1
total_itemsnumber
How many there are in all
total_pagesnumber
How many pages there are
Example output
{
  "count": 1,
  "devices": [
    {
      "customerId": 101,
      "customerName": "Acme Corp",
      "description": "Domain controller",
      "deviceClass": "Servers - Windows",
      "deviceId": 1001,
      "lastApplianceCheckinTime": "2026-11-30T09:00:00Z",
      "lastLoggedInUser": "ACME\\admin",
      "longName": "ACME-DC01",
      "orgUnitId": 202,
      "siteId": 202,
      "siteName": "Acme HQ",
      "supportedOs": "Microsoft Windows Server 2022 Standard"
    }
  ],
  "page_number": 1,
  "total_items": 1,
  "total_pages": 1
}

List organization units

List every organization unit (service organizations, customers and sites) the API user can see, one page at a time.

Inputs

Pagepage_numbernumber
Which page to get, from 1. Defaults to the first.At least 1.
Page sizepage_sizenumber
How many to return, 1 to 1000. N-central's default is 50.From 1 to 1000.
Sort bysort_bytext
The name of a field to sort by, such as longName.
Sort ordersort_ordertext
Ascending (default) or descending.One of: asc (Ascending), desc (Descending).

Outputs

countnumber
How many were returned
org_unitslist
The organization units
page_numbernumber
The page returned, from 1
total_itemsnumber
How many there are in all
total_pagesnumber
How many pages there are
Example output
{
  "count": 1,
  "org_units": [
    {
      "city": "Springfield",
      "contactEmail": "jo@example.com",
      "contactFirstName": "Jo",
      "contactLastName": "Bloggs",
      "contactPhone": "+1 555 0100",
      "country": "US",
      "externalId": "",
      "orgUnitId": "101",
      "orgUnitName": "Acme Corp",
      "orgUnitType": "CUSTOMER",
      "parentId": "50",
      "postalCode": "62701",
      "stateProv": "IL",
      "street1": "1 Main Street"
    }
  ],
  "page_number": 1,
  "total_items": 1,
  "total_pages": 1
}

List service organizations

List the service organizations on the N-central server.

Inputs

Pagepage_numbernumber
Which page to get, from 1. Defaults to the first.At least 1.
Page sizepage_sizenumber
How many to return, 1 to 1000. N-central's default is 50.From 1 to 1000.

Outputs

countnumber
How many were returned
page_numbernumber
The page returned, from 1
service_organizationslist
The service organizations
total_itemsnumber
How many there are in all
total_pagesnumber
How many pages there are
Example output
{
  "count": 1,
  "page_number": 1,
  "service_organizations": [
    {
      "city": "Springfield",
      "contactEmail": "jo@example.com",
      "contactFirstName": "Jo",
      "contactLastName": "Bloggs",
      "contactPhone": "+1 555 0100",
      "country": "US",
      "externalId": "",
      "orgUnitType": "SO",
      "parentId": "1",
      "postalCode": "62701",
      "soId": "50",
      "soName": "My MSP",
      "stateProv": "IL",
      "street1": "1 Main Street"
    }
  ],
  "total_items": 1,
  "total_pages": 1
}

List sites

List every site the API user can see, one page at a time.

Inputs

Pagepage_numbernumber
Which page to get, from 1. Defaults to the first.At least 1.
Page sizepage_sizenumber
How many to return, 1 to 1000. N-central's default is 50.From 1 to 1000.

Outputs

countnumber
How many were returned
page_numbernumber
The page returned, from 1
siteslist
The sites
total_itemsnumber
How many there are in all
total_pagesnumber
How many pages there are
Example output
{
  "count": 1,
  "page_number": 1,
  "sites": [
    {
      "city": "Springfield",
      "contactEmail": "jo@example.com",
      "contactFirstName": "Jo",
      "contactLastName": "Bloggs",
      "contactPhone": "+1 555 0100",
      "country": "US",
      "externalId": "",
      "orgUnitType": "SITE",
      "parentId": "101",
      "postalCode": "62701",
      "siteId": "202",
      "siteName": "Acme HQ",
      "stateProv": "IL",
      "street1": "1 Main Street"
    }
  ],
  "total_items": 1,
  "total_pages": 1
}

List users

List the N-central users of an organization unit, with whether each is enabled, locked or API only.

Inputs

Organization unitorg_unit_idtextRequired
The customer, site or service organization. Pick one, or give its id.
Pagepage_numbernumber
Which page to get, from 1. Defaults to the first.At least 1.
Page sizepage_sizenumber
How many to return, 1 to 1000. N-central's default is 50.From 1 to 1000.

Outputs

countnumber
How many were returned
page_numbernumber
The page returned, from 1
total_itemsnumber
How many there are in all
total_pagesnumber
How many pages there are
userslist
The users
Example output
{
  "count": 1,
  "page_number": 1,
  "total_items": 1,
  "total_pages": 1,
  "users": [
    {
      "apiOnlyUser": false,
      "fullName": "Jo Bloggs",
      "isEnabled": true,
      "isLocked": false,
      "twoFactorEnabled": true,
      "userId": 12,
      "userName": "jo@example.com"
    }
  ]
}

Run device task

Run a script or automation policy from N-central's repository on one device now. Use 'Get task status' to see how it went.

Inputs

Device IDdevice_idtextRequired
The device's id, a number from 'List devices' or an earlier step.
Customercustomer_idtextRequired
The customer. Pick one, or give its id.
Repository item IDitem_idtextRequired
The script or policy's id in N-central's repository (Configuration > Scheduled Tasks > Script/Software Repository).
Typetask_typetextRequired
What the repository item is.One of: Script (Script (Windows)), AutomationPolicy (Automation policy), MacScript (Script (macOS)).
Task nametask_nametextRequired
A name for this run. It must be unique.
Run ascredential_typetext
The local system account (default) or the device's saved credentials.One of: LocalSystem (Local system account), DeviceCredentials (The device's saved credentials).

Outputs

task_idtext
The new task's id
task_nametext
Its name
Example output
{
  "task_id": "9001",
  "task_name": "Clear temp files"
}

Set device custom property

Set the value of one of a device's custom properties.

Inputs

Device IDdevice_idtextRequired
The device's id, a number from 'List devices' or an earlier step.
Property IDproperty_idtextRequired
The custom property's id, from 'List device custom properties'.
ValuevaluetextRequired
The new value.

Outputs

device_idtext
The device
property_idtext
The property
updatedtrue/false
True once saved
valuetext
The value set
warningslist
Warnings N-central gave
Example output
{
  "device_id": "1001",
  "property_id": "300",
  "updated": true,
  "value": "Gold",
  "warnings": []
}

Update device lifecycle details

Change some of a device's asset lifecycle details. Fields left blank keep their value.

Inputs

Device IDdevice_idtextRequired
The device's id, a number from 'List devices' or an earlier step.
Warranty endswarranty_expiry_datedate
When the warranty ends.
Lease endslease_expiry_datedate
When the lease ends.
Replace byexpected_replacement_datedate
When it should be replaced.
Bought onpurchase_datedate
When it was bought.
Costcostnumber
What it cost.At least 0.
Locationlocationtext
Where it is.
Asset tagasset_tagtext
Its asset tag.
Notesdescriptiontext
Notes about it.

Outputs

changedlist
The details changed
device_idtext
The device changed
updatedtrue/false
True once saved
Example output
{
  "changed": [
    "assetTag"
  ],
  "device_id": "1001",
  "updated": true
}

On this page