---
title: "update attachment"
method: PUT
path: "/api/v1.0/attachments/{id}"
tags: ["Attachments"]
---

# update attachment

`PUT /api/v1.0/attachments/{id}`

## Path parameters

- `id` string, required

## Request body

- Attachment
  - `attachment_type` string — The file type for the attachment
  - `created_at` number — The date/time the Attachment was created at represented as an integer
  - `filename` string — The filename for the attachment
  - `id` integer — The ID of the Attachment.
  - `lead_id` string — The ID of the Lead the Attachment is associated with
  - `name` string — A name for the attachment
  - `text` string — The text for the attachment
  - `type` string — The Type of the Attachment (if generated via EasyDocs, it will be a Document)
  - `user_id` string — The ID of the User who created the Attachment

## Response `200`

Success

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Forbidden

---

[API](https://skmtc.dev/wingmateapp/apis/wingmate-api.md) · [All operations](https://skmtc.dev/wingmateapp/apis/wingmate-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wingmateapp/wingmate-api/revisions/d6fccce94b7c/schema)
