# upload Attachment in notes via api v3

**URL:** <https://community.hubspot.com/t/upload-attachment-in-notes-via-api-v3/85238>\
**Category:** APIs & Integrations\
**Created:** [July 13, 2023, 6:26am UTC](https://community.hubspot.com/t/upload-attachment-in-notes-via-api-v3/85238 "2023-07-13T06:26:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![monika-798](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@monika-798](https://community.hubspot.com/u/monika-798)\
**Post date:** [July 13, 2023, 6:26am UTC](https://community.hubspot.com/t/upload-attachment-in-notes-via-api-v3/85238/1 "2023-07-13T06:26:47Z")

</div>

It is written in the API reference doc that we can add attachment with notes but there is not way to attach an attachment/file with note when creating notes using API. Here is the paragrapg from doc:

_You can log notes on CRM records to add information to the record timeline or associate an attachment with a record. For example, if you need to keep track of an offline conversation you had with a contact, you can add a note to their contact record with details and documents related to the conversation. Other users in the account will then be able to view and reference that note._

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [July 13, 2023, 8:33pm UTC](https://community.hubspot.com/t/upload-attachment-in-notes-via-api-v3/85238/2 "2023-07-13T20:33:43Z")

</div>

Hi, @monika-798 😊 Thanks for your question.

I have an example here — [Attach file to deal record using API](https://community.hubspot.com/t5/APIs-Integrations/Attach-file-to-deal-record-using-API/m-p/719945#M58797). You can do the same for any object.

The quick version —

- Upload the file
- Create a Note
- Associate the File to the Note
- Associate the Note to the Object \_ Contact, Deal, Ticket, etc

Have fun building! — Jaycee
