Do Duplicate Rules run when records are created or edited via the API?
|Knowledge Article Number||000212950|
|Description||I have Duplicate Rules set up to fire upon record creation and record edit. Will these also fire when this is done via the API?|
|Resolution||Yes, Duplicate Rules evaluate on transactions made through the User Interface as well as the API.
Please be aware that if duplicate rules are set for an alert to show when potential duplicates are found, users will always be blocked from saving records and will not see a list of possible duplicates when records are added or edited using Salesforce APIs, UNLESS the user is a System Admin.