# Atera

> Run your Atera help desk and monitoring: open, update and comment on tickets and log time, manage customers and contacts, raise and resolve alerts, and read your devices, with triggers for new and changed tickets, replies, alerts, customers, contacts and devices going offline.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/atera

## Actions

### Add ticket comment

Add a comment to a ticket from a technician, optionally as an internal note the end user doesn't see, or from the end user.

**Inputs**

- Ticket ID (`ticket_id`, text, required): The ticket's number, such as 1234, from 'List tickets' or an earlier step.
- Comment (`comment`, text, required): What the comment says.
- From (`author`, text): Who the comment is from. Defaults to a technician. One of: `technician` (A technician), `end_user` (The end user (contact)).
- Technician email (`technician_email`, text): When it's from a technician: their email address in Atera.
- Internal note (`internal`, true/false): When it's from a technician: keep it from the end user.
- End user (`end_user_id`, text): When it's from the end user: the contact who wrote it.
- Written at (`comment_time`, date and time): When it was written. Defaults to now.

**Outputs**

- `added` (true/false): Always true once added
- `author` (text): Who it is from: technician or end_user
- `internal` (true/false): Whether it is an internal note
- `ticket_id` (number): The ticket's number

**Example output**

```json
{
  "added": true,
  "author": "technician",
  "internal": false,
  "ticket_id": 1234
}
```

### Create alert

Raise an alert on a device, such as a problem another system found, so it shows in Atera with the device's other alerts.

**Inputs**

- Device (`device_guid`, text, required): The device the alert is about. Pick one, or give its device GUID from an earlier step.
- Title (`title`, text, required): What is wrong, in a few words.
- Severity (`severity`, text, required): How serious it is. One of: `Information`, `Warning`, `Critical`.
- Category (`alert_category`, text): What kind of problem it is. One of: `General`, `Hardware`, `Disk`, `Availability`, `Performance`, `Exchange`.
- Customer (`customer_id`, text): The customer the device belongs to.
- Details (`additional_info`, text): More about the problem, shown with the alert.
- Ticket ID (`ticket_id`, text): A ticket to link the alert to, such as 1234.

**Outputs**

- `alert` (object): The new alert
- `alert_id` (number): The new alert's id

**Example output**

```json
{
  "alert": {
    "AdditionalInfo": "8% free",
    "AgentId": 4821,
    "AlertCategoryID": "Disk",
    "AlertID": 90213,
    "AlertMessage": "Disk C: has less than 10% free space.",
    "Archived": false,
    "ArchivedDate": null,
    "Code": 4,
    "Created": "2026-11-17T09:41:05Z",
    "CustomerID": 87,
    "CustomerName": "Acme Dental",
    "DeviceGuid": "3f2504e0-4f89-11d3-9a0c-0305e82c3301",
    "DeviceName": "RECEPTION-PC",
    "DeviceType": "Agent",
    "FolderID": 12,
    "PollingCyclesCount": 3,
    "Severity": "Warning",
    "SnoozedEndDate": null,
    "Source": "Disk",
    "TicketID": null,
    "Title": "Low disk space on C:"
  },
  "alert_id": 90213
}
```

### Create contact

Add a person at one of your customers.

**Inputs**

- Email (`email`, text, required): Their email address.
- Customer (`customer_id`, text, required): The customer they work for.
- First name (`first_name`, text): Their first name.
- Last name (`last_name`, text): Their last name.
- Job title (`job_title`, text): Their job title.
- Phone (`phone`, text): Their phone number.
- Mobile phone (`mobile_phone`, text): Their mobile number.
- Main contact (`is_contact_person`, true/false): Whether they are the customer's main contact.

**Outputs**

- `contact` (object): The new contact
- `contact_id` (number): The new contact's id

**Example output**

```json
{
  "contact": {
    "Archived": false,
    "CreatedOn": "2025-06-04T14:05:00",
    "CustomerID": 87,
    "CustomerName": "Acme Dental",
    "DefaultAgentId": null,
    "DepartmentID": null,
    "DepartmentName": null,
    "Email": "jo@acmedental.com",
    "EndUserID": 3310,
    "Firstname": "Jo",
    "InIgnoreMode": false,
    "IsContactPerson": true,
    "JobTitle": "Office manager",
    "LastModified": "2026-11-10T11:31:00",
    "Lastname": "Lee",
    "MobilePhone": "+1 217 555 0199",
    "Phone": "+1 217 555 0101"
  },
  "contact_id": 3310
}
```

### Create customer

Add a company you support, with its contact details.

**Inputs**

- Name (`customer_name`, text, required): The company's name.
- Domain (`domain`, text): Their web domain, such as acme.com.
- Business number (`business_number`, text): Their company number.
- Phone (`phone`, text): Their main phone number.
- Fax (`fax`, text): Their fax number.
- Street address (`address`, text): Their street address.
- City (`city`, text): Their city.
- State or region (`state`, text): Their state or region.
- ZIP or postal code (`zip_code`, text): Their postal code.
- Country (`country`, text): Their country.
- Notes (`notes`, text): Notes your team keeps about them.
- Links (`links`, text): Links to keep with them, such as their portal.

**Outputs**

- `customer` (object): The new customer
- `customer_id` (number): The new customer's id

**Example output**

```json
{
  "customer": {
    "Address": "12 High Street",
    "BusinessNumber": "12-3456789",
    "City": "Springfield",
    "Country": "United States",
    "CreatedOn": "2025-06-04T14:02:00",
    "CustomerID": 87,
    "CustomerName": "Acme Dental",
    "Domain": "acmedental.com",
    "Fax": "",
    "LastModified": "2026-11-10T11:30:00",
    "Latitude": null,
    "Links": "https://portal.acmedental.com",
    "Logo": null,
    "Longitude": null,
    "Notes": "Open Monday to Saturday.",
    "Phone": "+1 217 555 0100",
    "State": "IL",
    "ZipCodeStr": "62701"
  },
  "customer_id": 87
}
```

### Create ticket

Open a help-desk ticket for a contact, or for someone new by their email address and name (Atera adds them as a contact).

**Inputs**

- Title (`title`, text, required): A short summary of the problem or request.
- Description (`description`, text, required): What is wrong or what is needed, in full.
- End user (`end_user_id`, text): The contact the ticket is for. Leave empty to give a new person's email address and name instead.
- New end user's email (`end_user_email`, text): Only when no end user is chosen: their email address.
- New end user's first name (`end_user_first_name`, text): Only when no end user is chosen: their first name.
- New end user's last name (`end_user_last_name`, text): Only when no end user is chosen: their last name.
- New end user's phone (`end_user_phone`, text): Only when no end user is chosen: their phone number.
- Priority (`priority`, text): How urgent it is. Atera's default is used if empty. One of: `Low`, `Medium`, `High`, `Critical`.
- Impact (`impact`, text): How much it affects the customer. One of: `NoImpact` (No impact), `Minor`, `Major`, `ServerIssue` (Server issue), `SiteDown` (Site down), `Crisis`.
- Type (`ticket_type`, text): What kind of ticket it is. One of: `Incident`, `Problem`, `Request`, `Change`.
- Status (`ticket_status`, text): The status to open it with. Defaults to Open.
- Technician email (`technician_email`, text): The email address of the technician to assign it to.

**Outputs**

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

**Example output**

```json
{
  "ticket": {
    "ClosedTicketDueDate": "2026-11-19T09:30:00Z",
    "ContractID": null,
    "CustomerBusinessNumber": "12-3456789",
    "CustomerID": 87,
    "CustomerName": "Acme Dental",
    "EndUserEmail": "jo@acmedental.com",
    "EndUserFirstName": "Jo",
    "EndUserID": 3310,
    "EndUserLastName": "Lee",
    "EndUserPhone": "+1 217 555 0101",
    "FirstComment": "The printer at reception shows offline since this morning.",
    "FirstResponseDueDate": "2026-11-17T13:30:00Z",
    "LastEndUserComment": "The printer at reception shows offline since this morning.",
    "LastEndUserCommentTimestamp": "2026-11-17T09:30:00Z",
    "LastTechnicianComment": null,
    "LastTechnicianCommentTimestamp": null,
    "OffSLADurationMinutes": 0,
    "OffSLADurationSeconds": 0,
    "OffSiteDurationMinutes": 0,
    "OffSiteDurationSeconds": 0,
    "OnSLADurationMinutes": 0,
    "OnSLADurationSeconds": 0,
    "OnSiteDurationMinutes": 0,
    "OnSiteDurationSeconds": 0,
    "RelatedTicketId": null,
    "RelationType": null,
    "TechnicianContactID": 15,
    "TechnicianEmail": "sam@example.com",
    "TechnicianFirstCommentDate": null,
    "TechnicianFullName": "Sam Rivera",
    "TicketCreatedDate": "2026-11-17T09:30:00Z",
    "TicketID": 1234,
    "TicketImpact": "Minor",
    "TicketNumber": "1234",
    "TicketPriority": "High",
    "TicketResolvedDate": null,
    "TicketSource": "Email",
    "TicketStatus": "Open",
    "TicketTitle": "Printer at reception is offline",
    "TicketType": "Incident",
    "TotalDurationMinutes": 0,
    "TotalDurationSeconds": 0
  },
  "ticket_id": 1234
}
```

### Delete alert

Delete an alert for good.

**Inputs**

- Alert ID (`alert_id`, text, required): The alert's id, from 'List alerts' or an earlier step.

**Outputs**

- `alert_id` (number): The alert deleted
- `deleted` (true/false): Always true once deleted

**Example output**

```json
{
  "alert_id": 90213,
  "deleted": true
}
```

### Delete contact

Delete a contact for good.

**Inputs**

- Contact (`contact_id`, text, required): The contact. Pick one, or give their id from an earlier step.

**Outputs**

- `contact_id` (number): The contact deleted
- `deleted` (true/false): Always true once deleted

**Example output**

```json
{
  "contact_id": 3310,
  "deleted": true
}
```

### Delete customer

Delete a customer for good.

**Inputs**

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

**Outputs**

- `customer_id` (number): The customer deleted
- `deleted` (true/false): Always true once deleted

**Example output**

```json
{
  "customer_id": 87,
  "deleted": true
}
```

### Delete ticket

Delete a ticket for good, with its comments and time.

**Inputs**

- Ticket ID (`ticket_id`, text, required): The ticket's number, such as 1234, from 'List tickets' or an earlier step.

**Outputs**

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

**Example output**

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

### Get alert

Get one alert with its severity, message, device and customer.

**Inputs**

- Alert ID (`alert_id`, text, required): The alert's id, from 'List alerts' or an earlier step.

**Outputs**

- `alert` (object): The alert

**Example output**

```json
{
  "alert": {
    "AdditionalInfo": "8% free",
    "AgentId": 4821,
    "AlertCategoryID": "Disk",
    "AlertID": 90213,
    "AlertMessage": "Disk C: has less than 10% free space.",
    "Archived": false,
    "ArchivedDate": null,
    "Code": 4,
    "Created": "2026-11-17T09:41:05Z",
    "CustomerID": 87,
    "CustomerName": "Acme Dental",
    "DeviceGuid": "3f2504e0-4f89-11d3-9a0c-0305e82c3301",
    "DeviceName": "RECEPTION-PC",
    "DeviceType": "Agent",
    "FolderID": 12,
    "PollingCyclesCount": 3,
    "Severity": "Warning",
    "SnoozedEndDate": null,
    "Source": "Disk",
    "TicketID": null,
    "Title": "Low disk space on C:"
  }
}
```

### Get contact

Get one contact with their customer, email and phone numbers.

**Inputs**

- Contact (`contact_id`, text, required): The contact. Pick one, or give their id from an earlier step.

**Outputs**

- `contact` (object): The contact

**Example output**

```json
{
  "contact": {
    "Archived": false,
    "CreatedOn": "2025-06-04T14:05:00",
    "CustomerID": 87,
    "CustomerName": "Acme Dental",
    "DefaultAgentId": null,
    "DepartmentID": null,
    "DepartmentName": null,
    "Email": "jo@acmedental.com",
    "EndUserID": 3310,
    "Firstname": "Jo",
    "InIgnoreMode": false,
    "IsContactPerson": true,
    "JobTitle": "Office manager",
    "LastModified": "2026-11-10T11:31:00",
    "Lastname": "Lee",
    "MobilePhone": "+1 217 555 0199",
    "Phone": "+1 217 555 0101"
  }
}
```

### Get customer

Get one customer with their address, phone, domain and notes.

**Inputs**

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

**Outputs**

- `customer` (object): The customer

**Example output**

```json
{
  "customer": {
    "Address": "12 High Street",
    "BusinessNumber": "12-3456789",
    "City": "Springfield",
    "Country": "United States",
    "CreatedOn": "2025-06-04T14:02:00",
    "CustomerID": 87,
    "CustomerName": "Acme Dental",
    "Domain": "acmedental.com",
    "Fax": "",
    "LastModified": "2026-11-10T11:30:00",
    "Latitude": null,
    "Links": "https://portal.acmedental.com",
    "Logo": null,
    "Longitude": null,
    "Notes": "Open Monday to Saturday.",
    "Phone": "+1 217 555 0100",
    "State": "IL",
    "ZipCodeStr": "62701"
  }
}
```

### Get device

Get one device running the Atera agent: whether it is online, when it was last seen, who is signed in, its operating system, hardware, disks and addresses.

**Inputs**

- Device (`agent_id`, text, required): The device. Pick one, or give its agent id from an earlier step.

**Outputs**

- `agent` (object): The device

**Example output**

```json
{
  "agent": {
    "AgentID": 4821,
    "AgentName": "RECEPTION-PC",
    "AgentVersion": "1.8.7.2",
    "AppViewUrl": "https://app.atera.com/new/device/4821",
    "BatteryInfo": null,
    "BiosManufacturer": "Dell Inc.",
    "BiosReleaseDate": "2025-08-12T00:00:00Z",
    "BiosVersion": "1.24.0",
    "ComputerDescription": "Front desk",
    "Created": "2026-03-02T15:20:11Z",
    "CurrentLoggedUsers": "ACME\\jlee",
    "CustomerID": 87,
    "CustomerName": "Acme Dental",
    "DeviceGuid": "3f2504e0-4f89-11d3-9a0c-0305e82c3301",
    "DeviceType": "Workstation",
    "Display": "Intel(R) UHD Graphics 630",
    "DomainName": "acme.local",
    "Favorite": false,
    "FolderID": 12,
    "FolderName": "Front office",
    "HardwareDisks": [
      {
        "Drive": "C:",
        "Free": 182340,
        "Total": 475880,
        "Used": 293540
      }
    ],
    "IpAddresses": [
      "192.168.1.24"
    ],
    "LastLoginUser": "jlee",
    "LastRebootTime": "2026-11-15T07:58:02Z",
    "LastSeen": "2026-11-17T10:02:31Z",
    "MacAddresses": [
      "00-1A-2B-3C-4D-5E"
    ],
    "MachineID": "5012",
    "MachineName": "RECEPTION-PC",
    "Memory": 16384,
    "Modified": "2026-11-16T09:12:40Z",
    "Monitored": true,
    "MonitoredAgentID": 4821,
    "Motherboard": "Dell Inc. 0X8DXD",
    "OS": "Microsoft Windows 11 Pro",
    "OSBuild": "22631",
    "OSNum": 11,
    "OSType": "Work Station",
    "OSVersion": "10.0.22631",
    "Office": "Microsoft 365 Apps for business",
    "OfficeFullVersion": "16.0.17928.20156",
    "OfficeOEM": false,
    "OfficeSP": "",
    "OfficeSerialNumber": "",
    "Online": true,
    "Processor": "Intel(R) Core(TM) i5-10500 CPU @ 3.10GHz",
    "ProcessorClock": "3.1 GHz",
    "ProcessorCoresCount": 6,
    "ProductName": "OptiPlex 5080",
    "ReportedFromIP": "203.0.113.24",
    "Sound": "Realtek High Definition Audio",
    "SystemDrive": "C:",
    "SystemName": "RECEPTION-PC",
    "ThresholdID": 3,
    "Vendor": "Dell Inc.",
    "VendorBrandModel": "OptiPlex 5080",
    "VendorSerialNumber": "7XK2Q53",
    "WindowsSerialNumber": "00330-80000-00000-AA111"
  }
}
```

### Get ticket

Get one ticket with its status, priority, end user, customer, assigned technician, first and latest comments and time spent.

**Inputs**

- Ticket ID (`ticket_id`, text, required): The ticket's number, such as 1234, from 'List tickets' or an earlier step.

**Outputs**

- `ticket` (object): The ticket

**Example output**

```json
{
  "ticket": {
    "ClosedTicketDueDate": "2026-11-19T09:30:00Z",
    "ContractID": null,
    "CustomerBusinessNumber": "12-3456789",
    "CustomerID": 87,
    "CustomerName": "Acme Dental",
    "EndUserEmail": "jo@acmedental.com",
    "EndUserFirstName": "Jo",
    "EndUserID": 3310,
    "EndUserLastName": "Lee",
    "EndUserPhone": "+1 217 555 0101",
    "FirstComment": "The printer at reception shows offline since this morning.",
    "FirstResponseDueDate": "2026-11-17T13:30:00Z",
    "LastEndUserComment": "The printer at reception shows offline since this morning.",
    "LastEndUserCommentTimestamp": "2026-11-17T09:30:00Z",
    "LastTechnicianComment": null,
    "LastTechnicianCommentTimestamp": null,
    "OffSLADurationMinutes": 0,
    "OffSLADurationSeconds": 0,
    "OffSiteDurationMinutes": 0,
    "OffSiteDurationSeconds": 0,
    "OnSLADurationMinutes": 0,
    "OnSLADurationSeconds": 0,
    "OnSiteDurationMinutes": 0,
    "OnSiteDurationSeconds": 0,
    "RelatedTicketId": null,
    "RelationType": null,
    "TechnicianContactID": 15,
    "TechnicianEmail": "sam@example.com",
    "TechnicianFirstCommentDate": null,
    "TechnicianFullName": "Sam Rivera",
    "TicketCreatedDate": "2026-11-17T09:30:00Z",
    "TicketID": 1234,
    "TicketImpact": "Minor",
    "TicketNumber": "1234",
    "TicketPriority": "High",
    "TicketResolvedDate": null,
    "TicketSource": "Email",
    "TicketStatus": "Open",
    "TicketTitle": "Printer at reception is offline",
    "TicketType": "Incident",
    "TotalDurationMinutes": 0,
    "TotalDurationSeconds": 0
  }
}
```

### List alerts

List monitoring alerts, such as low disk space or a device offline, optionally only open, resolved or snoozed ones. Gets one page; to see more, run it again with the next page.

**Inputs**

- Status (`alert_status`, text): Only alerts that are open, resolved or snoozed. One of: `Open`, `Resolved`, `Snoozed`.
- Page (`page`, number): Which page to get, from 1. Defaults to the first. At least 1.
- Page size (`items_in_page`, number): How many to return, 1 to 50. Atera's default is 20. From 1 to 50.

**Outputs**

- `alerts` (list): The alerts
- `count` (number): How many are on this page
- `has_more` (true/false): Whether there is a next page: run again with page + 1
- `page` (number): The page number, from 1
- `total_count` (number): How many there are in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "alerts": [
    {
      "AdditionalInfo": "8% free",
      "AgentId": 4821,
      "AlertCategoryID": "Disk",
      "AlertID": 90213,
      "AlertMessage": "Disk C: has less than 10% free space.",
      "Archived": false,
      "ArchivedDate": null,
      "Code": 4,
      "Created": "2026-11-17T09:41:05Z",
      "CustomerID": 87,
      "CustomerName": "Acme Dental",
      "DeviceGuid": "3f2504e0-4f89-11d3-9a0c-0305e82c3301",
      "DeviceName": "RECEPTION-PC",
      "DeviceType": "Agent",
      "FolderID": 12,
      "PollingCyclesCount": 3,
      "Severity": "Warning",
      "SnoozedEndDate": null,
      "Source": "Disk",
      "TicketID": null,
      "Title": "Low disk space on C:"
    }
  ],
  "count": 1,
  "has_more": false,
  "page": 1,
  "total_count": 1,
  "total_pages": 1
}
```

### List contacts

List the people at your customers, optionally finding them by part of an email address or phone number, or only those changed since a day. Gets one page; to see more, run it again with the next page.

**Inputs**

- Email contains (`email`, text): Only contacts whose email address contains this, such as @acme.com.
- Phone contains (`phone`, text): Only contacts whose phone number contains this.
- Changed since (`modified_since`, date): Only those added or changed on or after this day.
- Order (`sort_by`, text): Oldest first, or by when each was last changed. One of: `Creation` (Oldest first (default)), `LastModified` (By when last changed).
- Page (`page`, number): Which page to get, from 1. Defaults to the first. At least 1.
- Page size (`items_in_page`, number): How many to return, 1 to 50. Atera's default is 20. From 1 to 50.

**Outputs**

- `contacts` (list): The contacts
- `count` (number): How many are on this page
- `has_more` (true/false): Whether there is a next page: run again with page + 1
- `page` (number): The page number, from 1
- `total_count` (number): How many there are in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "contacts": [
    {
      "Archived": false,
      "CreatedOn": "2025-06-04T14:05:00",
      "CustomerID": 87,
      "CustomerName": "Acme Dental",
      "DefaultAgentId": null,
      "DepartmentID": null,
      "DepartmentName": null,
      "Email": "jo@acmedental.com",
      "EndUserID": 3310,
      "Firstname": "Jo",
      "InIgnoreMode": false,
      "IsContactPerson": true,
      "JobTitle": "Office manager",
      "LastModified": "2026-11-10T11:31:00",
      "Lastname": "Lee",
      "MobilePhone": "+1 217 555 0199",
      "Phone": "+1 217 555 0101"
    }
  ],
  "count": 1,
  "has_more": false,
  "page": 1,
  "total_count": 1,
  "total_pages": 1
}
```

### List customers

List the companies you support, optionally only those changed since a day. Gets one page; to see more, run it again with the next page.

**Inputs**

- Changed since (`modified_since`, date): Only those added or changed on or after this day.
- Order (`sort_by`, text): Oldest first, or by when each was last changed. One of: `Creation` (Oldest first (default)), `LastModified` (By when last changed).
- Page (`page`, number): Which page to get, from 1. Defaults to the first. At least 1.
- Page size (`items_in_page`, number): How many to return, 1 to 50. Atera's default is 20. From 1 to 50.

**Outputs**

- `count` (number): How many are on this page
- `customers` (list): The customers
- `has_more` (true/false): Whether there is a next page: run again with page + 1
- `page` (number): The page number, from 1
- `total_count` (number): How many there are in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "count": 1,
  "customers": [
    {
      "Address": "12 High Street",
      "BusinessNumber": "12-3456789",
      "City": "Springfield",
      "Country": "United States",
      "CreatedOn": "2025-06-04T14:02:00",
      "CustomerID": 87,
      "CustomerName": "Acme Dental",
      "Domain": "acmedental.com",
      "Fax": "",
      "LastModified": "2026-11-10T11:30:00",
      "Latitude": null,
      "Links": "https://portal.acmedental.com",
      "Logo": null,
      "Longitude": null,
      "Notes": "Open Monday to Saturday.",
      "Phone": "+1 217 555 0100",
      "State": "IL",
      "ZipCodeStr": "62701"
    }
  ],
  "has_more": false,
  "page": 1,
  "total_count": 1,
  "total_pages": 1
}
```

### List devices

List the computers and servers running the Atera agent, with whether each is online, who is signed in, its operating system and hardware. Optionally only one customer's, or those with a machine name. Gets one page; to see more, run it again with the next page.

**Inputs**

- Customer (`customer_id`, text): Only this customer's devices.
- Machine name (`machine_name`, text): Only devices with this computer name, such as RECEPTION-PC.
- Page (`page`, number): Which page to get, from 1. Defaults to the first. At least 1.
- Page size (`items_in_page`, number): How many to return, 1 to 50. Atera's default is 20. From 1 to 50.

**Outputs**

- `agents` (list): The devices
- `count` (number): How many are on this page
- `has_more` (true/false): Whether there is a next page: run again with page + 1
- `page` (number): The page number, from 1
- `total_count` (number): How many there are in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "agents": [
    {
      "AgentID": 4821,
      "AgentName": "RECEPTION-PC",
      "AgentVersion": "1.8.7.2",
      "AppViewUrl": "https://app.atera.com/new/device/4821",
      "BatteryInfo": null,
      "BiosManufacturer": "Dell Inc.",
      "BiosReleaseDate": "2025-08-12T00:00:00Z",
      "BiosVersion": "1.24.0",
      "ComputerDescription": "Front desk",
      "Created": "2026-03-02T15:20:11Z",
      "CurrentLoggedUsers": "ACME\\jlee",
      "CustomerID": 87,
      "CustomerName": "Acme Dental",
      "DeviceGuid": "3f2504e0-4f89-11d3-9a0c-0305e82c3301",
      "DeviceType": "Workstation",
      "Display": "Intel(R) UHD Graphics 630",
      "DomainName": "acme.local",
      "Favorite": false,
      "FolderID": 12,
      "FolderName": "Front office",
      "HardwareDisks": [
        {
          "Drive": "C:",
          "Free": 182340,
          "Total": 475880,
          "Used": 293540
        }
      ],
      "IpAddresses": [
        "192.168.1.24"
      ],
      "LastLoginUser": "jlee",
      "LastRebootTime": "2026-11-15T07:58:02Z",
      "LastSeen": "2026-11-17T10:02:31Z",
      "MacAddresses": [
        "00-1A-2B-3C-4D-5E"
      ],
      "MachineID": "5012",
      "MachineName": "RECEPTION-PC",
      "Memory": 16384,
      "Modified": "2026-11-16T09:12:40Z",
      "Monitored": true,
      "MonitoredAgentID": 4821,
      "Motherboard": "Dell Inc. 0X8DXD",
      "OS": "Microsoft Windows 11 Pro",
      "OSBuild": "22631",
      "OSNum": 11,
      "OSType": "Work Station",
      "OSVersion": "10.0.22631",
      "Office": "Microsoft 365 Apps for business",
      "OfficeFullVersion": "16.0.17928.20156",
      "OfficeOEM": false,
      "OfficeSP": "",
      "OfficeSerialNumber": "",
      "Online": true,
      "Processor": "Intel(R) Core(TM) i5-10500 CPU @ 3.10GHz",
      "ProcessorClock": "3.1 GHz",
      "ProcessorCoresCount": 6,
      "ProductName": "OptiPlex 5080",
      "ReportedFromIP": "203.0.113.24",
      "Sound": "Realtek High Definition Audio",
      "SystemDrive": "C:",
      "SystemName": "RECEPTION-PC",
      "ThresholdID": 3,
      "Vendor": "Dell Inc.",
      "VendorBrandModel": "OptiPlex 5080",
      "VendorSerialNumber": "7XK2Q53",
      "WindowsSerialNumber": "00330-80000-00000-AA111"
    }
  ],
  "count": 1,
  "has_more": false,
  "page": 1,
  "total_count": 1,
  "total_pages": 1
}
```

### List ticket comments

List a ticket's comments with who wrote each, when, and whether it is an internal note. Gets one page; to see more, run it again with the next page.

**Inputs**

- Ticket ID (`ticket_id`, text, required): The ticket's number, such as 1234, from 'List tickets' or an earlier step.
- Page (`page`, number): Which page to get, from 1. Defaults to the first. At least 1.
- Page size (`items_in_page`, number): How many to return, 1 to 50. Atera's default is 20. From 1 to 50.

**Outputs**

- `comments` (list): The comments
- `count` (number): How many are on this page
- `has_more` (true/false): Whether there is a next page: run again with page + 1
- `page` (number): The page number, from 1
- `ticket_id` (number): The ticket's number
- `total_count` (number): How many there are in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "comments": [
    {
      "Comment": "I've restarted the print spooler; can you try again?",
      "CommentHtml": "<p>I've restarted the print spooler; can you try again?</p>",
      "Date": "2026-11-17T09:45:00Z",
      "Email": "sam@example.com",
      "EndUserID": null,
      "FirstName": "Sam",
      "IsInternal": false,
      "LastName": "Rivera",
      "TechnicianContactID": 15
    }
  ],
  "count": 1,
  "has_more": false,
  "page": 1,
  "ticket_id": 1234,
  "total_count": 1,
  "total_pages": 1
}
```

### List tickets

List help-desk tickets, optionally only those with one status or for one customer. Gets one page; to see more, run it again with the next page.

**Inputs**

- Status (`ticket_status`, text): Only tickets with this status.
- Customer (`customer_id`, text): Only this customer's tickets.
- Page (`page`, number): Which page to get, from 1. Defaults to the first. At least 1.
- Page size (`items_in_page`, number): How many to return, 1 to 50. Atera's default is 20. From 1 to 50.

**Outputs**

- `count` (number): How many are on this page
- `has_more` (true/false): Whether there is a next page: run again with page + 1
- `page` (number): The page number, from 1
- `tickets` (list): The tickets
- `total_count` (number): How many there are in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "count": 1,
  "has_more": false,
  "page": 1,
  "tickets": [
    {
      "ClosedTicketDueDate": "2026-11-19T09:30:00Z",
      "ContractID": null,
      "CustomerBusinessNumber": "12-3456789",
      "CustomerID": 87,
      "CustomerName": "Acme Dental",
      "EndUserEmail": "jo@acmedental.com",
      "EndUserFirstName": "Jo",
      "EndUserID": 3310,
      "EndUserLastName": "Lee",
      "EndUserPhone": "+1 217 555 0101",
      "FirstComment": "The printer at reception shows offline since this morning.",
      "FirstResponseDueDate": "2026-11-17T13:30:00Z",
      "LastEndUserComment": "The printer at reception shows offline since this morning.",
      "LastEndUserCommentTimestamp": "2026-11-17T09:30:00Z",
      "LastTechnicianComment": null,
      "LastTechnicianCommentTimestamp": null,
      "OffSLADurationMinutes": 0,
      "OffSLADurationSeconds": 0,
      "OffSiteDurationMinutes": 0,
      "OffSiteDurationSeconds": 0,
      "OnSLADurationMinutes": 0,
      "OnSLADurationSeconds": 0,
      "OnSiteDurationMinutes": 0,
      "OnSiteDurationSeconds": 0,
      "RelatedTicketId": null,
      "RelationType": null,
      "TechnicianContactID": 15,
      "TechnicianEmail": "sam@example.com",
      "TechnicianFirstCommentDate": null,
      "TechnicianFullName": "Sam Rivera",
      "TicketCreatedDate": "2026-11-17T09:30:00Z",
      "TicketID": 1234,
      "TicketImpact": "Minor",
      "TicketNumber": "1234",
      "TicketPriority": "High",
      "TicketResolvedDate": null,
      "TicketSource": "Email",
      "TicketStatus": "Open",
      "TicketTitle": "Printer at reception is offline",
      "TicketType": "Incident",
      "TotalDurationMinutes": 0,
      "TotalDurationSeconds": 0
    }
  ],
  "total_count": 1,
  "total_pages": 1
}
```

### Log work hours

Record time spent on a ticket, from when to when, whether it is billable and whether it was on the customer's site.

**Inputs**

- Ticket ID (`ticket_id`, text, required): The ticket's number, such as 1234, from 'List tickets' or an earlier step.
- Started (`start_time`, date and time, required): When the work started.
- Ended (`end_time`, date and time, required): When the work ended.
- Technician email (`technician_email`, text): The email address of the technician who did the work.
- Billable (`billable`, true/false): Whether the customer is billed for this time.
- On site (`on_customer_site`, true/false): Whether the work was done at the customer's site.
- Description (`description`, text): What was done.

**Outputs**

- `added` (true/false): Always true once logged
- `end_time` (text): When it ended (UTC)
- `start_time` (text): When it started (UTC)
- `ticket_id` (number): The ticket's number
- `work_hours_id` (text): Atera's id for the time entry, if it gave one

**Example output**

```json
{
  "added": true,
  "end_time": "2026-11-17T10:45:00Z",
  "start_time": "2026-11-17T10:00:00Z",
  "ticket_id": 1234,
  "work_hours_id": "5521"
}
```

### Resolve alert

Mark an alert resolved, so it leaves the open alerts.

**Inputs**

- Alert ID (`alert_id`, text, required): The alert's id, from 'List alerts' or an earlier step.

**Outputs**

- `alert_id` (number): The alert resolved
- `resolved` (true/false): Always true once resolved

**Example output**

```json
{
  "alert_id": 90213,
  "resolved": true
}
```

### Update contact

Change a contact's name, job title, phone numbers or customer. Fields left empty stay as they are; the email address can't be changed.

**Inputs**

- Contact (`contact_id`, text, required): The contact. Pick one, or give their id from an earlier step.
- First name (`first_name`, text): Their first name. Leave empty to keep it.
- Last name (`last_name`, text): Their last name. Leave empty to keep it.
- Job title (`job_title`, text): Their job title. Leave empty to keep it.
- Phone (`phone`, text): Their phone number. Leave empty to keep it.
- Mobile phone (`mobile_phone`, text): Their mobile number. Leave empty to keep it.
- Main contact (`is_contact_person`, true/false): Whether they are the customer's main contact. Leave empty to keep it.
- Customer (`customer_id`, text): Move them to this customer. Leave empty to keep it.

**Outputs**

- `contact` (object): The contact as they are now
- `contact_id` (number): The contact's id

**Example output**

```json
{
  "contact": {
    "Archived": false,
    "CreatedOn": "2025-06-04T14:05:00",
    "CustomerID": 87,
    "CustomerName": "Acme Dental",
    "DefaultAgentId": null,
    "DepartmentID": null,
    "DepartmentName": null,
    "Email": "jo@acmedental.com",
    "EndUserID": 3310,
    "Firstname": "Jo",
    "InIgnoreMode": false,
    "IsContactPerson": true,
    "JobTitle": "Office manager",
    "LastModified": "2026-11-10T11:31:00",
    "Lastname": "Lee",
    "MobilePhone": "+1 217 555 0199",
    "Phone": "+1 217 555 0101"
  },
  "contact_id": 3310
}
```

### Update customer

Change a customer's name or details. Fields left empty stay as they are.

**Inputs**

- Customer (`customer_id`, text, required): The customer. Pick one, or give its id.
- Name (`customer_name`, text): A new name. Leave empty to keep it.
- Domain (`domain`, text): Their web domain, such as acme.com. Leave empty to keep it.
- Business number (`business_number`, text): Their company number. Leave empty to keep it.
- Phone (`phone`, text): Their main phone number. Leave empty to keep it.
- Fax (`fax`, text): Their fax number. Leave empty to keep it.
- Street address (`address`, text): Their street address. Leave empty to keep it.
- City (`city`, text): Their city. Leave empty to keep it.
- State or region (`state`, text): Their state or region. Leave empty to keep it.
- ZIP or postal code (`zip_code`, text): Their postal code. Leave empty to keep it.
- Country (`country`, text): Their country. Leave empty to keep it.
- Notes (`notes`, text): Notes your team keeps about them. Leave empty to keep it.
- Links (`links`, text): Links to keep with them, such as their portal. Leave empty to keep it.

**Outputs**

- `customer` (object): The customer as it is now
- `customer_id` (number): The customer's id

**Example output**

```json
{
  "customer": {
    "Address": "12 High Street",
    "BusinessNumber": "12-3456789",
    "City": "Springfield",
    "Country": "United States",
    "CreatedOn": "2025-06-04T14:02:00",
    "CustomerID": 87,
    "CustomerName": "Acme Dental",
    "Domain": "acmedental.com",
    "Fax": "",
    "LastModified": "2026-11-10T11:30:00",
    "Latitude": null,
    "Links": "https://portal.acmedental.com",
    "Logo": null,
    "Longitude": null,
    "Notes": "Open Monday to Saturday.",
    "Phone": "+1 217 555 0100",
    "State": "IL",
    "ZipCodeStr": "62701"
  },
  "customer_id": 87
}
```

### Update ticket

Change a ticket's title, status, priority, impact or type, or assign it to a technician. Fields left empty stay as they are.

**Inputs**

- Ticket ID (`ticket_id`, text, required): The ticket's number, such as 1234, from 'List tickets' or an earlier step.
- Title (`title`, text): A new title. Leave empty to keep it.
- Status (`ticket_status`, text): A new status, such as Resolved. Leave empty to keep it.
- Priority (`priority`, text): A new priority. Leave empty to keep it. One of: `Low`, `Medium`, `High`, `Critical`.
- Impact (`impact`, text): A new impact. Leave empty to keep it. One of: `NoImpact` (No impact), `Minor`, `Major`, `ServerIssue` (Server issue), `SiteDown` (Site down), `Crisis`.
- Type (`ticket_type`, text): A new type. Leave empty to keep it. One of: `Incident`, `Problem`, `Request`, `Change`.
- Technician email (`technician_email`, text): The email address of the technician to assign it to. Leave empty to keep the current one.

**Outputs**

- `ticket` (object): The ticket as it is now
- `ticket_id` (number): The ticket's number

**Example output**

```json
{
  "ticket": {
    "ClosedTicketDueDate": "2026-11-19T09:30:00Z",
    "ContractID": null,
    "CustomerBusinessNumber": "12-3456789",
    "CustomerID": 87,
    "CustomerName": "Acme Dental",
    "EndUserEmail": "jo@acmedental.com",
    "EndUserFirstName": "Jo",
    "EndUserID": 3310,
    "EndUserLastName": "Lee",
    "EndUserPhone": "+1 217 555 0101",
    "FirstComment": "The printer at reception shows offline since this morning.",
    "FirstResponseDueDate": "2026-11-17T13:30:00Z",
    "LastEndUserComment": "The printer at reception shows offline since this morning.",
    "LastEndUserCommentTimestamp": "2026-11-17T09:30:00Z",
    "LastTechnicianComment": null,
    "LastTechnicianCommentTimestamp": null,
    "OffSLADurationMinutes": 0,
    "OffSLADurationSeconds": 0,
    "OffSiteDurationMinutes": 0,
    "OffSiteDurationSeconds": 0,
    "OnSLADurationMinutes": 0,
    "OnSLADurationSeconds": 0,
    "OnSiteDurationMinutes": 0,
    "OnSiteDurationSeconds": 0,
    "RelatedTicketId": null,
    "RelationType": null,
    "TechnicianContactID": 15,
    "TechnicianEmail": "sam@example.com",
    "TechnicianFirstCommentDate": null,
    "TechnicianFullName": "Sam Rivera",
    "TicketCreatedDate": "2026-11-17T09:30:00Z",
    "TicketID": 1234,
    "TicketImpact": "Minor",
    "TicketNumber": "1234",
    "TicketPriority": "High",
    "TicketResolvedDate": null,
    "TicketSource": "Email",
    "TicketStatus": "Pending",
    "TicketTitle": "Printer at reception is offline",
    "TicketType": "Incident",
    "TotalDurationMinutes": 0,
    "TotalDurationSeconds": 0
  },
  "ticket_id": 1234
}
```
