# N-able Passportal

> Work with N-able Passportal: look up clients and documentation, and store, update, read, flag or disable client credentials.

App · 15 actions. Web page: https://docs.lodol.com/docs/integrations/passportal

## Actions

### Activate credential

Make a disabled credential active again.

**Inputs**

- Credential ID (`credential_id`, text, required): The credential's id, from 'List client credentials'.

**Outputs**

- `credential_id` (number): The credential
- `done` (true/false): True once done
- `flags` (list): Its flags now, when Passportal gives them

**Example output**

```json
{
  "credential_id": 3001,
  "done": true,
  "flags": []
}
```

### Clear credential flags

Clear a credential's flags.

**Inputs**

- Credential ID (`credential_id`, text, required): The credential's id, from 'List client credentials'.

**Outputs**

- `credential_id` (number): The credential
- `done` (true/false): True once done
- `flags` (list): Its flags now, when Passportal gives them

**Example output**

```json
{
  "credential_id": 3001,
  "done": true,
  "flags": []
}
```

### Disable credential

Disable a credential.

**Inputs**

- Credential ID (`credential_id`, text, required): The credential's id, from 'List client credentials'.

**Outputs**

- `credential_id` (number): The credential
- `done` (true/false): True once done
- `flags` (list): Its flags now, when Passportal gives them

**Example output**

```json
{
  "credential_id": 3001,
  "done": true,
  "flags": []
}
```

### Flag credential

Flag a credential, for example as needing to be changed.

**Inputs**

- Credential ID (`credential_id`, text, required): The credential's id, from 'List client credentials'.

**Outputs**

- `credential_id` (number): The credential
- `done` (true/false): True once done
- `flags` (list): Its flags now, when Passportal gives them

**Example output**

```json
{
  "credential_id": 3001,
  "done": true,
  "flags": [
    "Flagged by Lodol"
  ]
}
```

### Generate password

Generate a random password that follows your organization's password rules.

**Inputs**: None.

**Outputs**

- `password` (text): The new password

**Example output**

```json
{
  "password": "x7#Kp2!vQ9wL"
}
```

### Get credential password

Get a credential's password. Turn on decrypt to get it readable; Passportal then marks it as viewed.

**Inputs**

- Credential ID (`credential_id`, text, required): The credential's id, from 'List client credentials'.
- Decrypt (`decrypt`, true/false): On to get the password readable.

**Outputs**

- `credential_id` (number): The credential
- `decrypted` (true/false): Whether it was decrypted
- `password` (text): The password, readable only when decrypted

**Example output**

```json
{
  "credential_id": 3001,
  "decrypted": true,
  "password": "P@ssw0rd123"
}
```

### Get document

Get one documentation record with all its details.

**Inputs**

- Document ID (`document_id`, text, required): The document's id, from 'List documents'.

**Outputs**

- `details` (object): Its details, as its template lays them out
- `document_id` (number): The document
- `template_uid` (text): The template it follows

**Example output**

```json
{
  "details": {},
  "document_id": 901,
  "template_uid": "asset-template"
}
```

### List article folders

List the folders knowledge-base articles are filed in.

**Inputs**

- Client (`client_id`, text): Only this client's folders. Pick one, or give its id.
- Search (`search`, text): Only folders matching this text.

**Outputs**

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

**Example output**

```json
{
  "count": 1,
  "folders": [
    {
      "client_id": 55,
      "id": 7,
      "name": "Network Devices",
      "parent_id": 0
    }
  ]
}
```

### List client credentials

List a client's stored credentials with their usernames, types and folders (not the passwords).

**Inputs**

- Client (`client_id`, text, required): The client. Pick one, or give its id.
- State (`state`, text): Active (default) or inactive credentials. One of: `active`, `inactive`.
- Search (`search`, text): Only credentials matching this text.
- Folder (`folder_id`, text): Only credentials in this folder.
- Page size (`limit`, number): How many to return, 1 to 1000. Defaults to 100. From 1 to 1000.
- Page (`page`, number): Which page to get, from 1. At least 1.

**Outputs**

- `count` (number): How many were returned
- `credentials` (list): The credentials
- `total` (number): How many there are in all

**Example output**

```json
{
  "count": 1,
  "credentials": [
    {
      "credentialTypeName": "Windows",
      "dateModified": "2026-10-01 09:00:00",
      "datePasswordChange": "2026-10-01 09:00:00",
      "description": "Domain admin",
      "expires": false,
      "folderName": "Network Devices",
      "id": 3001,
      "isActive": true,
      "notes": "",
      "url": "https://dc01.acme.example.com",
      "username": "ACME\\admin"
    }
  ],
  "total": 1
}
```

### List clients

List your Passportal clients.

**Inputs**

- Page size (`results_per_page`, number): How many to return, 1 to 1000. Passportal's default is 100. From 1 to 1000.
- Page (`page_number`, number): Which page to get. At least 0.

**Outputs**

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

**Example output**

```json
{
  "clients": [
    {
      "id": 55,
      "name": "Acme Corp"
    }
  ],
  "count": 1
}
```

### List credential folders

List the credential folders the API key can see.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "count": 1,
  "folders": [
    {
      "client_id": 55,
      "id": 7,
      "name": "Network Devices",
      "parent_id": 0
    }
  ]
}
```

### List credential types

List the credential types credentials are filed under.

**Inputs**

- Search (`search`, text): Only types whose name contains this.
- Inactive only (`inactive_only`, true/false): On to list only inactive types.
- Page size (`limit`, number): How many to return, 1 to 1000. Defaults to 100. From 1 to 1000.
- Page (`page`, number): Which page to get, from 1. At least 1.

**Outputs**

- `count` (number): How many were returned
- `credential_types` (list): The credential types

**Example output**

```json
{
  "count": 1,
  "credential_types": [
    {
      "id": 12,
      "name": "Windows",
      "state_id": 1
    }
  ]
}
```

### List documents

List documentation records (assets, vendors, contacts, network details...), filtered by type, client or text.

**Inputs**

- Type (`document_type`, text): Only documents of this type. One of: `asset` (Assets), `active_directory` (Active Directory), `application` (Applications), `backup`, `email`, `file_sharing` (File sharing), `contact` (Contacts), `location` (Locations), `internet`, `lan`, and 8 more.
- Client (`client_id`, text): Only this client's documents. Pick one, or give its id.
- Search (`search`, text): Only documents matching this text.
- Page size (`results_per_page`, number): How many to return, 1 to 1000. Passportal's default is 100. From 1 to 1000.
- Page (`page_number`, number): Which page to get. At least 0.

**Outputs**

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

**Example output**

```json
{
  "count": 1,
  "documents": [
    {
      "accessible": true,
      "clientName": "Acme Corp",
      "client_id": 55,
      "description": "Domain controller",
      "id": 901,
      "label": "ACME-DC01",
      "templateName": "Asset",
      "type": "asset"
    }
  ]
}
```

### Store credential

Store a new credential (username, password, address) for a client.

**Inputs**

- Client (`client_id`, text, required): The client. Pick one, or give its id.
- Description (`description`, text, required): What the credential is for.
- Password (`password`, text, required): The password to store. Use 'Generate password' for a new one.
- Username (`username`, text): The username.
- Credential type (`credential_type_id`, text): The kind of credential. Pick one, or give its id.
- Folder (`folder_name`, text): The folder to file it in, by name. Pick one, or type a name.
- Notes (`notes`, text): Notes about it.
- Address (`url`, text): The address it signs in to.
- Rotate password (`expires`, true/false): On to turn on password rotation for it.

**Outputs**

- `client_id` (number): The client
- `credential_id` (number): The new credential's id

**Example output**

```json
{
  "client_id": 55,
  "credential_id": 3001
}
```

### Update credential

Change a credential's password or details. Fields left blank stay as they are.

**Inputs**

- Credential ID (`credential_id`, text, required): The credential's id, from 'List client credentials'.
- Description (`description`, text): What the credential is for.
- Password (`password`, text): The password to store. Use 'Generate password' for a new one.
- Username (`username`, text): The username.
- Credential type (`credential_type_id`, text): The kind of credential. Pick one, or give its id.
- Folder (`folder_name`, text): The folder to file it in, by name. Pick one, or type a name.
- Notes (`notes`, text): Notes about it.
- Address (`url`, text): The address it signs in to.
- Rotate password (`expires`, true/false): On to turn on password rotation for it.

**Outputs**

- `changed` (list): The details changed
- `credential` (object): A stored credential (without its password)

**Example output**

```json
{
  "changed": [
    "password"
  ],
  "credential": {
    "credentialTypeName": "Windows",
    "dateModified": "2026-10-01 09:00:00",
    "datePasswordChange": "2026-10-01 09:00:00",
    "description": "Domain admin",
    "expires": false,
    "folderName": "Network Devices",
    "id": 3001,
    "isActive": true,
    "notes": "",
    "url": "https://dc01.acme.example.com",
    "username": "ACME\\admin"
  }
}
```
