Please enable JavaScript
ContentNote entity should be used to create Notes. ContentDocumentLink entity should be used to link it to the records. Blog Post: https://www.infallibletechie.com/2022/04/how-to-create-contentnote-and-link-it.html