---
title: "Attachments"
description: "Attachments endpoints in the OnePageCRM REST API."
canonical_url: https://developer.onepagecrm.com/api/reference/attachments/
source: Markdown mirror of https://developer.onepagecrm.com/api/reference/attachments/
---

Files attached to a deal, note, call or meeting — stored in OnePageCRM (S3) or linked from Google Drive, Dropbox or Evernote.

## Endpoints

- **GET** `/attachments/s3_form` — [Get a pre-authorized S3 upload form (use to upload a file on the client side)](https://developer.onepagecrm.com/api/reference/attachments/get-attachments-s3_form/) ([md](https://developer.onepagecrm.com/api/reference/attachments/get-attachments-s3_form.md))
- **POST** `/attachments` — [Create a new attachment](https://developer.onepagecrm.com/api/reference/attachments/post-attachments/) ([md](https://developer.onepagecrm.com/api/reference/attachments/post-attachments.md))
- **PATCH** `/attachments/{attachment_id}` — [Sets/updates attachment custom file name](https://developer.onepagecrm.com/api/reference/attachments/patch-attachments-attachment_id/) ([md](https://developer.onepagecrm.com/api/reference/attachments/patch-attachments-attachment_id.md))
- **DELETE** `/attachments/{attachment_id}` — [Delete a specific attachment](https://developer.onepagecrm.com/api/reference/attachments/delete-attachments-attachment_id/) ([md](https://developer.onepagecrm.com/api/reference/attachments/delete-attachments-attachment_id.md))
- **PATCH** `/attachments/{attachment_id}/pin` — [Pin attachment to its owner contact through its note/call/deal](https://developer.onepagecrm.com/api/reference/attachments/patch-attachments-attachment_id-pin/) ([md](https://developer.onepagecrm.com/api/reference/attachments/patch-attachments-attachment_id-pin.md))
- **PATCH** `/attachments/{attachment_id}/unpin` — [Unpin attachment from its owner contact through its note/call/deal](https://developer.onepagecrm.com/api/reference/attachments/patch-attachments-attachment_id-unpin/) ([md](https://developer.onepagecrm.com/api/reference/attachments/patch-attachments-attachment_id-unpin.md))
