# Kaseya BMS

> Run your Kaseya BMS service desk: open, update, resolve and delete tickets, add notes and log time, and look up accounts and contacts.

App · 16 actions. Web page: https://docs.lodol.com/docs/integrations/kaseya-bms

## Actions

### Add ticket note

Add a note to a ticket, internal or for the client, optionally changing its status.

**Inputs**

- Ticket ID (`ticket_id`, text, required): The ticket's id (a number, not its ticket number), from 'List tickets' or an earlier step.
- Note (`details`, text, required): What the note says.
- Note type (`note_type_id`, text, required): The kind of note. Pick one, or give its id.
- Internal (`is_internal`, true/false): On so only your team sees it.
- Status (`status_id`, text): The ticket's status. Pick one, or give its id.

**Outputs**

- `note` (object): A ticket note

**Example output**

```json
{
  "note": {
    "createdByName": "Sam Tech",
    "createdOn": "2026-11-30T10:00:00Z",
    "details": "Restarted the print spooler.",
    "id": 501,
    "isInternal": true,
    "typeId": 1,
    "typeName": "Note"
  }
}
```

### Create ticket

Open a service desk ticket for an account.

**Inputs**

- Title (`title`, text, required): A short summary of the issue.
- Details (`details`, text, required): What is wrong.
- Account (`account_id`, text, required): The account the ticket is for. Pick one, or give its id.
- Location (`location_id`, text, required): The account's location. Pick one, or give its id.
- Status (`status_id`, text, required): The ticket's status, such as New. Pick one, or give its id.
- Priority (`priority_id`, text, required): The ticket's priority. Pick one, or give its id.
- Ticket type (`type_id`, text, required): The ticket's type. Pick one, or give its id.
- Source (`source_id`, text, required): Where the ticket came from, such as Email or Phone. Pick one, or give its id.
- Queue (`queue_id`, text): The queue it sits in. Pick one, or give its id.
- Issue type (`issue_type_id`, text): The kind of issue. Pick one, or give its id.
- Contact (`contact_id`, text): The person who raised it. Pick one, or give its id.
- Assigned to (`assignee_id`, text): The technician to assign. Pick one, or give its id.
- Opened at (`open_date`, date and time): When it was opened. Defaults to now.
- Due (`due_date`, date and time): When it is due.

**Outputs**

- `ticket` (object): A ticket
- `ticket_id` (number): The new ticket's id

**Example output**

```json
{
  "ticket": {
    "accountId": 55,
    "accountName": "Acme Corp",
    "assigneeId": 42,
    "assigneeName": "Sam Tech",
    "completedDate": "",
    "contactId": 77,
    "contactName": "Jo Bloggs",
    "createdOn": "2026-11-30T09:00:00Z",
    "details": "The second floor printer is offline.",
    "dueDate": "2026-12-01T17:00:00Z",
    "id": 1001,
    "issueTypeName": "Hardware",
    "locationId": 66,
    "openDate": "2026-11-30T09:00:00Z",
    "priorityId": 2,
    "priorityName": "Medium",
    "queueId": 3,
    "queueName": "Help Desk",
    "sourceId": 1,
    "statusId": 1,
    "statusName": "New",
    "ticketNumber": "T20261130.0001",
    "title": "Printer offline",
    "typeId": 1,
    "typeName": "Service Request"
  },
  "ticket_id": 1001
}
```

### Delete ticket

Delete a ticket.

**Inputs**

- Ticket ID (`ticket_id`, text, required): The ticket's id (a number, not its ticket number), from 'List tickets' or an earlier step.

**Outputs**

- `deleted` (true/false): True once deleted
- `ticket_id` (number): The ticket deleted

**Example output**

```json
{
  "deleted": true,
  "ticket_id": 1001
}
```

### Delete ticket time log

Delete a time log from a ticket.

**Inputs**

- Ticket ID (`ticket_id`, text, required): The ticket's id (a number, not its ticket number), from 'List tickets' or an earlier step.
- Time log ID (`time_log_id`, text, required): The time log's id, from 'List ticket time logs'.

**Outputs**

- `deleted` (true/false): True once deleted
- `ticket_id` (number): The ticket
- `time_log_id` (number): The time log deleted

**Example output**

```json
{
  "deleted": true,
  "ticket_id": 1001,
  "time_log_id": 801
}
```

### Get account

Get one CRM account with its type, manager, website and locations.

**Inputs**

- Account (`account_id`, text, required): The account. Pick one, or give its id.

**Outputs**

- `account` (object): A CRM account

**Example output**

```json
{
  "account": {
    "accountCode": "ACME",
    "accountManagerUserName": "Jo Bloggs",
    "accountName": "Acme Corp",
    "accountType": "Customer",
    "id": 55,
    "isActive": true,
    "website": "https://acme.example.com"
  }
}
```

### Get contact

Get one CRM contact with their account, location and job title.

**Inputs**

- Contact ID (`contact_id`, text, required): The contact's id, from 'List contacts'.

**Outputs**

- `contact` (object): A CRM contact

**Example output**

```json
{
  "contact": {
    "accountId": 55,
    "accountName": "Acme Corp",
    "firstName": "Jo",
    "id": 77,
    "isActive": true,
    "jobTitle": "Office Manager",
    "lastName": "Bloggs",
    "locationName": "Head office"
  }
}
```

### Get current user

Get the BMS user the connection signs in as: name, email, time zone and company.

**Inputs**: None.

**Outputs**

- `user` (object): The signed-in user

**Example output**

```json
{
  "user": {
    "businessName": "My MSP",
    "emailAddress": "jo@example.com",
    "fullName": "Jo Bloggs",
    "isUserSystemAdmin": false,
    "olsonTimeZoneName": "America/New_York",
    "tenantId": 7,
    "userId": 42
  }
}
```

### Get ticket

Get one ticket with its account, contact, status, priority, queue, technician and dates.

**Inputs**

- Ticket ID (`ticket_id`, text, required): The ticket's id (a number, not its ticket number), from 'List tickets' or an earlier step.

**Outputs**

- `ticket` (object): A ticket

**Example output**

```json
{
  "ticket": {
    "accountId": 55,
    "accountName": "Acme Corp",
    "assigneeId": 42,
    "assigneeName": "Sam Tech",
    "completedDate": "",
    "contactId": 77,
    "contactName": "Jo Bloggs",
    "createdOn": "2026-11-30T09:00:00Z",
    "details": "The second floor printer is offline.",
    "dueDate": "2026-12-01T17:00:00Z",
    "id": 1001,
    "issueTypeName": "Hardware",
    "locationId": 66,
    "openDate": "2026-11-30T09:00:00Z",
    "priorityId": 2,
    "priorityName": "Medium",
    "queueId": 3,
    "queueName": "Help Desk",
    "sourceId": 1,
    "statusId": 1,
    "statusName": "New",
    "ticketNumber": "T20261130.0001",
    "title": "Printer offline",
    "typeId": 1,
    "typeName": "Service Request"
  }
}
```

### List accounts

List CRM accounts (your clients), filtered by name or whether active.

**Inputs**

- Name (`account_name`, text): Only accounts whose name contains this.
- Active (`is_active`, true/false): On for active accounts only, off for inactive only.
- Page (`page_number`, number): Which page to get, from 1. At least 1.
- Page size (`page_size`, number): How many to return, 1 to 100. From 1 to 100.

**Outputs**

- `accounts` (list): The accounts
- `count` (number): How many were returned
- `total_records` (number): How many match in all

**Example output**

```json
{
  "accounts": [
    {
      "accountCode": "ACME",
      "accountManagerUserName": "Jo Bloggs",
      "accountName": "Acme Corp",
      "accountType": "Customer",
      "id": 55,
      "isActive": true,
      "website": "https://acme.example.com"
    }
  ],
  "count": 1,
  "total_records": 1
}
```

### List contacts

List CRM contacts, filtered by account, email or last name.

**Inputs**

- Account (`account_id`, text): Only this account's contacts. Pick one, or give its id.
- Email (`email`, text): Only contacts with this email address.
- Last name (`last_name`, text): Only contacts with this last name.
- Page (`page_number`, number): Which page to get, from 1. At least 1.
- Page size (`page_size`, number): How many to return, 1 to 100. From 1 to 100.

**Outputs**

- `contacts` (list): The contacts
- `count` (number): How many were returned
- `total_records` (number): How many match in all

**Example output**

```json
{
  "contacts": [
    {
      "accountId": 55,
      "accountName": "Acme Corp",
      "firstName": "Jo",
      "id": 77,
      "isActive": true,
      "jobTitle": "Office Manager",
      "lastName": "Bloggs",
      "locationName": "Head office"
    }
  ],
  "count": 1,
  "total_records": 1
}
```

### List ticket notes

List a ticket's notes with who wrote them and whether they are internal.

**Inputs**

- Ticket ID (`ticket_id`, text, required): The ticket's id (a number, not its ticket number), from 'List tickets' or an earlier step.
- Page (`page_number`, number): Which page to get, from 1. At least 1.
- Page size (`page_size`, number): How many to return, 1 to 100. From 1 to 100.

**Outputs**

- `count` (number): How many were returned
- `notes` (list): The notes
- `total_records` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "notes": [
    {
      "createdByName": "Sam Tech",
      "createdOn": "2026-11-30T10:00:00Z",
      "details": "Restarted the print spooler.",
      "id": 501,
      "isInternal": true,
      "typeId": 1,
      "typeName": "Note"
    }
  ],
  "total_records": 1
}
```

### List ticket time logs

List the time logged against a ticket, by whom and for what work.

**Inputs**

- Ticket ID (`ticket_id`, text, required): The ticket's id (a number, not its ticket number), from 'List tickets' or an earlier step.
- Page (`page_number`, number): Which page to get, from 1. At least 1.
- Page size (`page_size`, number): How many to return, 1 to 100. From 1 to 100.

**Outputs**

- `count` (number): How many were returned
- `time_logs` (list): The time logs
- `total_records` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "time_logs": [
    {
      "employeeName": "Sam Tech",
      "endTime": "09:30:00",
      "id": 801,
      "internalNotes": "",
      "notes": "Restarted the printer.",
      "roleId": 2,
      "roleName": "Technician",
      "startDate": "2026-11-30T00:00:00",
      "startTime": "09:00:00",
      "timespent": 0.5,
      "workTypeId": 4,
      "workTypeName": "Remote Support"
    }
  ],
  "total_records": 1
}
```

### List tickets

List service desk tickets, filtered by title, account, status, queue, priority, technician or when they were created, one page at a time.

**Inputs**

- Title contains (`title`, text): Only tickets whose title contains this.
- Account (`account_ids`, text): Only this account's tickets. Pick one, or give its id.
- Status names (`status_names`, text): Only these statuses, by name, separated by commas, such as New,In Progress.
- Queue names (`queue_names`, text): Only these queues, by name, separated by commas.
- Priority names (`priority_names`, text): Only these priorities, by name, separated by commas.
- Technician name (`assignee_name`, text): Only tickets assigned to this technician.
- Open tickets only (`exclude_completed`, true/false): On to leave out completed tickets.
- Created after (`created_from`, date and time): Only tickets created after this time.
- Created before (`created_to`, date and time): Only tickets created before this time.
- Page (`page_number`, number): Which page to get, from 1. At least 1.
- Page size (`page_size`, number): How many to return, 1 to 100. From 1 to 100.

**Outputs**

- `count` (number): How many were returned
- `tickets` (list): The tickets
- `total_records` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "tickets": [
    {
      "accountId": 55,
      "accountName": "Acme Corp",
      "assigneeId": 42,
      "assigneeName": "Sam Tech",
      "completedDate": "",
      "contactId": 77,
      "contactName": "Jo Bloggs",
      "createdOn": "2026-11-30T09:00:00Z",
      "details": "The second floor printer is offline.",
      "dueDate": "2026-12-01T17:00:00Z",
      "id": 1001,
      "issueTypeName": "Hardware",
      "locationId": 66,
      "openDate": "2026-11-30T09:00:00Z",
      "priorityId": 2,
      "priorityName": "Medium",
      "queueId": 3,
      "queueName": "Help Desk",
      "sourceId": 1,
      "statusId": 1,
      "statusName": "New",
      "ticketNumber": "T20261130.0001",
      "title": "Printer offline",
      "typeId": 1,
      "typeName": "Service Request"
    }
  ],
  "total_records": 1
}
```

### Log time on ticket

Log time worked on a ticket: the day, start and end times, work type and role.

**Inputs**

- Ticket ID (`ticket_id`, text, required): The ticket's id (a number, not its ticket number), from 'List tickets' or an earlier step.
- Day (`start_date`, date, required): The day the work was done.
- Start (`start_time`, time, required): When the work started.
- End (`end_time`, time, required): When the work ended.
- Work type (`work_type_id`, text, required): The kind of work. Pick one, or give its id.
- Role (`role_id`, text, required): The role the work was done in. Pick one, or give its id.
- Notes (`notes`, text): Notes the client can see.
- Internal notes (`internal_notes`, text): Notes for your team.

**Outputs**

- `time_log` (object): A time log

**Example output**

```json
{
  "time_log": {
    "employeeName": "Sam Tech",
    "endTime": "09:30:00",
    "id": 801,
    "internalNotes": "",
    "notes": "Restarted the printer.",
    "roleId": 2,
    "roleName": "Technician",
    "startDate": "2026-11-30T00:00:00",
    "startTime": "09:00:00",
    "timespent": 0.5,
    "workTypeId": 4,
    "workTypeName": "Remote Support"
  }
}
```

### Resolve ticket

Resolve a ticket with a resolution comment.

**Inputs**

- Ticket ID (`ticket_id`, text, required): The ticket's id (a number, not its ticket number), from 'List tickets' or an earlier step.
- Resolution (`comment`, text, required): How it was resolved.
- Status (`status_id`, text): The status to set. BMS's resolved status if blank. Pick one, or give its id.
- Internal (`is_internal`, true/false): On to hide the resolution from the client.

**Outputs**

- `resolved` (true/false): True once resolved
- `result` (object): What BMS answered
- `ticket_id` (number): The ticket

**Example output**

```json
{
  "resolved": true,
  "result": {},
  "ticket_id": 1001
}
```

### Update ticket

Change a ticket's title, details, status, priority, queue, technician, issue type or due date. Fields left blank stay as they are.

**Inputs**

- Ticket ID (`ticket_id`, text, required): The ticket's id (a number, not its ticket number), from 'List tickets' or an earlier step.
- Title (`title`, text): A new title.
- Details (`details`, text): New details.
- Status (`status_id`, text): The ticket's status. Pick one, or give its id.
- Priority (`priority_id`, text): The ticket's priority. Pick one, or give its id.
- Queue (`queue_id`, text): The queue it sits in. Pick one, or give its id.
- Assigned to (`assignee_id`, text): The technician to assign. Pick one, or give its id.
- Issue type (`issue_type_id`, text): The kind of issue. Pick one, or give its id.
- Due (`due_date`, date and time): A new due date and time.

**Outputs**

- `changed` (list): The fields changed
- `ticket` (object): A ticket

**Example output**

```json
{
  "changed": [
    "statusId"
  ],
  "ticket": {
    "accountId": 55,
    "accountName": "Acme Corp",
    "assigneeId": 42,
    "assigneeName": "Sam Tech",
    "completedDate": "",
    "contactId": 77,
    "contactName": "Jo Bloggs",
    "createdOn": "2026-11-30T09:00:00Z",
    "details": "The second floor printer is offline.",
    "dueDate": "2026-12-01T17:00:00Z",
    "id": 1001,
    "issueTypeName": "Hardware",
    "locationId": 66,
    "openDate": "2026-11-30T09:00:00Z",
    "priorityId": 2,
    "priorityName": "Medium",
    "queueId": 3,
    "queueName": "Help Desk",
    "sourceId": 1,
    "statusId": 1,
    "statusName": "New",
    "ticketNumber": "T20261130.0001",
    "title": "Printer offline",
    "typeId": 1,
    "typeName": "Service Request"
  }
}
```
