upload Attachment in notes via api v3

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.

Hi, @monika-798 :blush: Thanks for your question.

I have an example here — Attach file to deal record using API. 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