# N-able N-central

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

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/n-able-n-central

## Actions

### Create customer

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

**Inputs**

- Service organization (`service_org_id`, text, required): The service organization. Pick one, or give its id.
- Customer name (`customer_name`, text, required): The new customer's name.
- Contact first name (`contact_first_name`, text, required): The main contact's first name.
- Contact last name (`contact_last_name`, text, required): The main contact's last name.
- Contact email (`contact_email`, text): The main contact's email address.
- Contact phone (`contact_phone`, text): The main contact's phone number.
- Street address (`street1`, text): The street address.
- City (`city`, text): The city.
- State or province (`state_prov`, text): The state or province.
- Country (`country`, text): The two-letter country code, such as US or GB.
- Postal code (`postal_code`, text): The postal or ZIP code.
- External ID (`external_id`, text): Your own id for it, such as its id in your PSA.

**Outputs**

- `customer` (object): The customer as N-central saved it
- `customer_id` (text): The new customer's id, when N-central gives it

**Example output**

```json
{
  "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_id`, text, required): The customer. Pick one, or give its id.
- Site name (`site_name`, text, required): The new site's name.
- Contact first name (`contact_first_name`, text, required): The main contact's first name.
- Contact last name (`contact_last_name`, text, required): The main contact's last name.
- Contact email (`contact_email`, text): The main contact's email address.
- Contact phone (`contact_phone`, text): The main contact's phone number.
- Street address (`street1`, text): The street address.
- City (`city`, text): The city.
- State or province (`state_prov`, text): The state or province.
- Country (`country`, text): The two-letter country code, such as US or GB.
- Postal code (`postal_code`, text): The postal or ZIP code.
- External ID (`external_id`, text): Your own id for it, such as its id in your PSA.

**Outputs**

- `site_id` (text): The new site's id

**Example output**

```json
{
  "site_id": "202"
}
```

### Get customer

Get one customer with its contact and address.

**Inputs**

- Customer (`customer_id`, text, required): The customer. Pick one, or give its id.

**Outputs**

- `customer` (object): A customer

**Example output**

```json
{
  "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_id`, text, required): The device's id, a number from 'List devices' or an earlier step.

**Outputs**

- `device` (object): A device

**Example output**

```json
{
  "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_id`, text, required): The device's id, a number from 'List devices' or an earlier step.

**Outputs**

- `lifecycle_info` (object): The device's asset lifecycle details

**Example output**

```json
{
  "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_id`, text, required): The device's id, a number from 'List devices' or an earlier step.

**Outputs**

- `count` (number): How many were returned
- `services` (list): The monitoring services

**Example output**

```json
{
  "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_id`, text, required): The customer, site or service organization. Pick one, or give its id.

**Outputs**

- `org_unit` (object): An organization unit

**Example output**

```json
{
  "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_id`, text, required): The customer or site. Pick one, or give its id.

**Outputs**

- `expiry_date` (text): When it expires
- `registration_token` (text): The registration token

**Example output**

```json
{
  "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_id`, text, required): The site's id, from 'List sites' or an earlier step.

**Outputs**

- `site` (object): A site

**Example output**

```json
{
  "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_id`, text, required): The task's id, from 'Run device task' or 'List device tasks'.

**Outputs**

- `task` (object): A scheduled task

**Example output**

```json
{
  "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_id`, text, required): The task's id, from 'Run device task' or 'List device tasks'.

**Outputs**

- `devices` (list): Each device's result
- `status_counts` (object): How many devices are in each status, by status
- `task_name` (text): The task's name

**Example output**

```json
{
  "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_id`, text, required): The customer, site or service organization. Pick one, or give its id.
- Page (`page_number`, number): Which page to get, from 1. Defaults to the first. At least 1.
- Page size (`page_size`, number): How many to return, 1 to 1000. N-central's default is 50. From 1 to 1000.

**Outputs**

- `count` (number): How many were returned
- `issues` (list): The active issues
- `page_number` (number): The page returned, from 1
- `total_items` (number): How many there are in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "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_id`, text, required): The service organization. Pick one, or give its id.
- Page (`page_number`, number): Which page to get, from 1. Defaults to the first. At least 1.
- Page size (`page_size`, number): How many to return, 1 to 1000. N-central's default is 50. From 1 to 1000.

**Outputs**

- `count` (number): How many were returned
- `customers` (list): The customers
- `page_number` (number): The page returned, from 1
- `total_items` (number): How many there are in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "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_id`, text, required): The device's id, a number from 'List devices' or an earlier step.

**Outputs**

- `count` (number): How many were returned
- `properties` (list): The custom properties

**Example output**

```json
{
  "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_scope`, text): 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_number`, number): Which page to get, from 1. Defaults to the first. At least 1.
- Page size (`page_size`, number): How many to return, 1 to 1000. N-central's default is 50. From 1 to 1000.

**Outputs**

- `count` (number): How many were returned
- `filters` (list): The filters
- `page_number` (number): The page returned, from 1
- `total_items` (number): How many there are in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "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_id`, text, required): The device's id, a number from 'List devices' or an earlier step.

**Outputs**

- `count` (number): How many were returned
- `tasks` (list): The tasks

**Example output**

```json
{
  "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_id`, text): Only devices this saved filter matches. Leave blank for all.
- Page (`page_number`, number): Which page to get, from 1. Defaults to the first. At least 1.
- Page size (`page_size`, number): How many to return, 1 to 1000. N-central's default is 50. From 1 to 1000.
- Sort by (`sort_by`, text): The name of a field to sort by, such as longName.
- Sort order (`sort_order`, text): Ascending (default) or descending. One of: `asc` (Ascending), `desc` (Descending).

**Outputs**

- `count` (number): How many were returned
- `devices` (list): The devices
- `page_number` (number): The page returned, from 1
- `total_items` (number): How many there are in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "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_id`, text, required): The customer, site or service organization. Pick one, or give its id.
- Page (`page_number`, number): Which page to get, from 1. Defaults to the first. At least 1.
- Page size (`page_size`, number): How many to return, 1 to 1000. N-central's default is 50. From 1 to 1000.

**Outputs**

- `count` (number): How many were returned
- `devices` (list): The devices
- `page_number` (number): The page returned, from 1
- `total_items` (number): How many there are in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "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_number`, number): Which page to get, from 1. Defaults to the first. At least 1.
- Page size (`page_size`, number): How many to return, 1 to 1000. N-central's default is 50. From 1 to 1000.
- Sort by (`sort_by`, text): The name of a field to sort by, such as longName.
- Sort order (`sort_order`, text): Ascending (default) or descending. One of: `asc` (Ascending), `desc` (Descending).

**Outputs**

- `count` (number): How many were returned
- `org_units` (list): The organization units
- `page_number` (number): The page returned, from 1
- `total_items` (number): How many there are in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "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_number`, number): Which page to get, from 1. Defaults to the first. At least 1.
- Page size (`page_size`, number): How many to return, 1 to 1000. N-central's default is 50. From 1 to 1000.

**Outputs**

- `count` (number): How many were returned
- `page_number` (number): The page returned, from 1
- `service_organizations` (list): The service organizations
- `total_items` (number): How many there are in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "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_number`, number): Which page to get, from 1. Defaults to the first. At least 1.
- Page size (`page_size`, number): How many to return, 1 to 1000. N-central's default is 50. From 1 to 1000.

**Outputs**

- `count` (number): How many were returned
- `page_number` (number): The page returned, from 1
- `sites` (list): The sites
- `total_items` (number): How many there are in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "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_id`, text, required): The customer, site or service organization. Pick one, or give its id.
- Page (`page_number`, number): Which page to get, from 1. Defaults to the first. At least 1.
- Page size (`page_size`, number): How many to return, 1 to 1000. N-central's default is 50. From 1 to 1000.

**Outputs**

- `count` (number): How many were returned
- `page_number` (number): The page returned, from 1
- `total_items` (number): How many there are in all
- `total_pages` (number): How many pages there are
- `users` (list): The users

**Example output**

```json
{
  "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_id`, text, required): The device's id, a number from 'List devices' or an earlier step.
- Customer (`customer_id`, text, required): The customer. Pick one, or give its id.
- Repository item ID (`item_id`, text, required): The script or policy's id in N-central's repository (Configuration > Scheduled Tasks > Script/Software Repository).
- Type (`task_type`, text, required): What the repository item is. One of: `Script` (Script (Windows)), `AutomationPolicy` (Automation policy), `MacScript` (Script (macOS)).
- Task name (`task_name`, text, required): A name for this run. It must be unique.
- Run as (`credential_type`, text): 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_id` (text): The new task's id
- `task_name` (text): Its name

**Example output**

```json
{
  "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_id`, text, required): The device's id, a number from 'List devices' or an earlier step.
- Property ID (`property_id`, text, required): The custom property's id, from 'List device custom properties'.
- Value (`value`, text, required): The new value.

**Outputs**

- `device_id` (text): The device
- `property_id` (text): The property
- `updated` (true/false): True once saved
- `value` (text): The value set
- `warnings` (list): Warnings N-central gave

**Example output**

```json
{
  "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_id`, text, required): The device's id, a number from 'List devices' or an earlier step.
- Warranty ends (`warranty_expiry_date`, date): When the warranty ends.
- Lease ends (`lease_expiry_date`, date): When the lease ends.
- Replace by (`expected_replacement_date`, date): When it should be replaced.
- Bought on (`purchase_date`, date): When it was bought.
- Cost (`cost`, number): What it cost. At least 0.
- Location (`location`, text): Where it is.
- Asset tag (`asset_tag`, text): Its asset tag.
- Notes (`description`, text): Notes about it.

**Outputs**

- `changed` (list): The details changed
- `device_id` (text): The device changed
- `updated` (true/false): True once saved

**Example output**

```json
{
  "changed": [
    "assetTag"
  ],
  "device_id": "1001",
  "updated": true
}
```
