---
title: "Add Attachment"
method: POST
path: "/api/projects/{project_id}/attachments"
---

# Add Attachment

`POST /api/projects/{project_id}/attachments`

## Request

- Base URL: `https://api.yourbeckett.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.yourbeckett.com/api/projects/{project_id}/attachments`
- Auth: none declared

Add a file or link attachment to a project.

## Path parameters

- `project_id` string, uuid, required

## Request body

- AddAttachmentRequest
  - `type` string, required
  - `file_id` string, uuid, nullable
  - `url` string, nullable
  - `title` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/yourbeckett/apis/beckett-platform.md) · [All operations](https://skmtc.dev/yourbeckett/apis/beckett-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/yourbeckett/apis/beckett-platform/revisions/a1cb8f2c8961?raw)
