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
| Action | What it does |
|---|---|
| Create customer | Add a customer under a service organization, with its main contact and address. |
| Create site | Add a site under a customer, with its main contact and address. |
| Get customer | Get one customer with its contact and address. |
| Get device | Get one device: its name, class, operating system, customer, site and when its agent last checked in. |
| Get device lifecycle details | Get a device's warranty, lease, purchase and replacement dates, cost, location and asset tag. |
| 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. |
| Get organization unit | Get one organization unit with its type, parent, contact and address. |
| Get registration token | Get the token agents use to register new devices to a customer or site, and when it expires. |
| Get site | Get one site with its customer, contact and address. |
| Get task | Get a scheduled task: its name, type, repository item, customer and devices. |
| Get task status | Get how a task went: a count by status, and each device's status and output. |
| List active issues | List the monitoring services that are failing or warning on the devices of a customer, site or service organization. |
| List customers | List the customers of a service organization, one page at a time. |
| List device custom properties | List a device's custom properties and their values. |
| List device filters | List the saved device filters, to use with 'List devices'. |
| List device tasks | List the scheduled tasks set up on a device, with their status. |
| 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. |
| List devices of an organization unit | List the devices of one customer, site or service organization, one page at a time. |
| List organization units | List every organization unit (service organizations, customers and sites) the API user can see, one page at a time. |
| List service organizations | List the service organizations on the N-central server. |
| List sites | List every site the API user can see, one page at a time. |
| List users | List the N-central users of an organization unit, with whether each is enabled, locked or API only. |
| Run device task | Run a script or automation policy from N-central's repository on one device now. |
| Set device custom property | Set the value of one of a device's custom properties. |
| Update device lifecycle details | Change 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 organization
service_org_idtextRequired - The service organization. Pick one, or give its id.
- Customer name
customer_nametextRequired - The new customer's name.
- Contact first name
contact_first_nametextRequired - The main contact's first name.
- Contact last name
contact_last_nametextRequired - The main contact's last name.
- Contact email
contact_emailtext - The main contact's email address.
- Contact phone
contact_phonetext - The main contact's phone number.
- Street address
street1text - The street address.
- City
citytext - The city.
- State or province
state_provtext - The state or province.
- Country
countrytext - The two-letter country code, such as US or GB.
- Postal code
postal_codetext - The postal or ZIP code.
- External ID
external_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
- Customer
customer_idtextRequired - The customer. Pick one, or give its id.
- Site name
site_nametextRequired - The new site's name.
- Contact first name
contact_first_nametextRequired - The main contact's first name.
- Contact last name
contact_last_nametextRequired - The main contact's last name.
- Contact email
contact_emailtext - The main contact's email address.
- Contact phone
contact_phonetext - The main contact's phone number.
- Street address
street1text - The street address.
- City
citytext - The city.
- State or province
state_provtext - The state or province.
- Country
countrytext - The two-letter country code, such as US or GB.
- Postal code
postal_codetext - The postal or ZIP code.
- External ID
external_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
- Customer
customer_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 ID
device_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 ID
device_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 ID
device_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 unit
org_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 unit
org_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 ID
site_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 ID
task_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 ID
task_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 unit
org_unit_idtextRequired - The customer, site or service organization. Pick one, or give its id.
- Page
page_numbernumber - Which page to get, from 1. Defaults to the first.At least 1.
- Page size
page_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 organization
service_org_idtextRequired - The service organization. Pick one, or give its id.
- Page
page_numbernumber - Which page to get, from 1. Defaults to the first.At least 1.
- Page size
page_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 ID
device_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 filters
view_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). - Page
page_numbernumber - Which page to get, from 1. Defaults to the first.At least 1.
- Page size
page_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 ID
device_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 filter
filter_idtext - Only devices this saved filter matches. Leave blank for all.
- Page
page_numbernumber - Which page to get, from 1. Defaults to the first.At least 1.
- Page size
page_sizenumber - How many to return, 1 to 1000. N-central's default is 50.From 1 to 1000.
- Sort by
sort_bytext - The name of a field to sort by, such as longName.
- Sort order
sort_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 unit
org_unit_idtextRequired - The customer, site or service organization. Pick one, or give its id.
- Page
page_numbernumber - Which page to get, from 1. Defaults to the first.At least 1.
- Page size
page_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
- Page
page_numbernumber - Which page to get, from 1. Defaults to the first.At least 1.
- Page size
page_sizenumber - How many to return, 1 to 1000. N-central's default is 50.From 1 to 1000.
- Sort by
sort_bytext - The name of a field to sort by, such as longName.
- Sort order
sort_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
- Page
page_numbernumber - Which page to get, from 1. Defaults to the first.At least 1.
- Page size
page_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
- Page
page_numbernumber - Which page to get, from 1. Defaults to the first.At least 1.
- Page size
page_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 unit
org_unit_idtextRequired - The customer, site or service organization. Pick one, or give its id.
- Page
page_numbernumber - Which page to get, from 1. Defaults to the first.At least 1.
- Page size
page_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 ID
device_idtextRequired - The device's id, a number from 'List devices' or an earlier step.
- Customer
customer_idtextRequired - The customer. Pick one, or give its id.
- Repository item ID
item_idtextRequired - The script or policy's id in N-central's repository (Configuration > Scheduled Tasks > Script/Software Repository).
- Type
task_typetextRequired - What the repository item is.One of:
Script(Script (Windows)),AutomationPolicy(Automation policy),MacScript(Script (macOS)). - Task name
task_nametextRequired - A name for this run. It must be unique.
- Run as
credential_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 ID
device_idtextRequired - The device's id, a number from 'List devices' or an earlier step.
- Property ID
property_idtextRequired - The custom property's id, from 'List device custom properties'.
- Value
valuetextRequired - 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 ID
device_idtextRequired - The device's id, a number from 'List devices' or an earlier step.
- Warranty ends
warranty_expiry_datedate - When the warranty ends.
- Lease ends
lease_expiry_datedate - When the lease ends.
- Replace by
expected_replacement_datedate - When it should be replaced.
- Bought on
purchase_datedate - When it was bought.
- Cost
costnumber - What it cost.At least 0.
- Location
locationtext - Where it is.
- Asset tag
asset_tagtext - Its asset tag.
- Notes
descriptiontext - 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
}