+ Start a Discussion

Stop duplicate leads with API

I have a lead generation form that creates leads in salesforce and need to find a way to stop duplicate leads from getting created. If a lead is already created I want to update the record instead and if there are already multiple leads in SF how can I update just one record.
My guess is that Salesforce is using a search() SOSL query instead of SOQL. Have you tried that?