Working with attachments in the REST API

This article describes foundational concepts for working with entity attachments in the Autotask REST API.

We recommend reading this article after you have familiarized yourself with the key principles discussed in our Introduction to REST API calls and Making basic query calls to the REST API articles. For advanced query syntax, refer to Advanced query features of the REST API.

To help you learn how to construct requests to the Autotask REST API, Datto provides a customizable REST API request collection for use with Postman. For more information, refer to Sample requests.

Overview

Certain REST API resources support attachments via child entities. Via the REST API, you can query the children of these entities to view their attachments, add new attachments, and delete existing attachments. For a list of API resources that currently support attachments, refer to the Before you begin section of this article.

IMPORTANT  Attachment behavior in the API has changed. To avoid service disruption, review our Changes to Attachment entities article for important information about this recent update.

BEFORE YOU BEGIN  Examples in this article may use the webservices[n].autotask.net placeholder. In such instances, substitute [n] for the zone of your user, as described in Autotask API zones and WSDL versionsFind your zone's API URL for the REST API or Autotask API zones and WSDL versionsFind your zone's WSDL file URL for SOAP API version 1.6.

Index

Before you begin

There are several key concepts to keep in mind when working with attachments.

Additional resources