v51

latestOpenAPI 3.0.1raw.githubusercontent.com2026-08-0118684573.2 KB
Attachments

Downloading an Attachment

The Content-Type and Content-Disposition will be set based on the file. For image attachments (image/png, image/gif, image/jpeg), Content-Disposition will be inline, allowing browsers to display them directly. For all other attachment types, Content-Disposition will be attachment.

This endpoint supports ETag, which can be used to avoid downloading the same content more than once. When an API consumer calls this endpoint, it returns a value in ETag header, you can pass this value in the header If-None-Match of subsequent requests. If the file has not been changed since the previous request, you will receive 304 Not Modified response otherwise you'll get the latest file.

get/v1/projects/{projectId}/forms/{xmlFormId}/submissions/{instanceId}/attachments/{filename}

Path parameters

projectIdnumber required

The numeric ID of the Project

xmlFormIdstring required

The xmlFormId of the Form being referenced.

instanceIdstring required

The instanceId of the Submission being referenced.

filenamestring required

The name of the file as given by the Attachments listing resource.

Response

OK