---
title: "Returns all file attachments for a print. Anonymous access is permitted for public prints; private prints require the owner to be authenticated."
method: GET
path: "/api/Prints/{id}/files"
tags: ["Prints"]
---

# Returns all file attachments for a print. Anonymous access is permitted for public prints; private prints require the owner to be authenticated.

`GET /api/Prints/{id}/files`

## Request

- Base URL: `https://api.3dprintlog.com`
- URL: `https://api.3dprintlog.com/api/Prints/{id}/files`
- Auth: one of:
  - none
  - OAuth 2 (authorization code, authorization URL `https://3dprintlog.auth0.com/authorize`, token URL `https://3dprintlog.auth0.com/oauth/token`)
  - API key in header `X-Api-Key`
  - API key in query parameter `api_key`

## Path parameters

- `id` integer, required

## Response `200`

Returns the list of file attachments (may be empty).

- PrintLogApiModelsDTOsPrintPrintAttachmentDto[]
  - `id` integer
  - `originalFileName` string, nullable
  - `sizeBytes` integer
  - `contentType` string, nullable
  - `displayOrder` integer

## Other responses

- `403`: If the print is private and the requesting user is not the owner.
- `404`: If the print does not exist.

---

[API](https://skmtc.dev/3dprintlog/apis/3d-print-log-api.md) · [All operations](https://skmtc.dev/3dprintlog/apis/3d-print-log-api/llms.txt) · [OpenAPI document](https://skmtc.dev/3dprintlog/apis/3d-print-log-api/revisions/dfc3a4df4e38?raw)
