How can i check duplicate notes using API?

I am adding notes using API and need to skip duplicate notes while adding notes.

The Notes are duplicates in Pipedrive or from where you’re adding them?

If they’re existing in PD, you can use the Note ID to recognize duplicates, otherwise I don’t have a good idea at the moment for checking duplicates.

Can i add my custom id while adding notes?

No, I’m afraid the ID is given to the Note by Pipedrive when it’s added into the system. It’s a sequential number that can’t be chosen.