---
search:
  tags:
    - objects
    - POST
seo:
  description: >-
    Upload via POST /workspace/upload first, then pass fileId here. Reference
    for the POST /objects/{id}/files endpoint in the Leadtime Public API API.
sidebar:
  badge: POST
  label: Attach a file to an object
title: Attach a file to an object
type: openapi-operation
---
Upload via POST /workspace/upload first, then pass fileId here.

<Operation source="api-reference" id="objectscontroller-attachfile" />
