I've installed the Contact Form 7 CiviCRM integration plugin, and it works fine.

I'm just wondering how to add a dupe_check parameter.

If I try something like:


it works.

But if I add:


it doesen't.

Here's the section where I have to add those parameters: screenshot

Without dupe_check the same contact could be added X times for X times he/she submits the form.

Thank you.

2 Answers 2


Did you try the same functionality in the API Explorer?

Basically the Contact Form 7 integration just calls the CiviCRM API with whatever data is present, so I would expect that if it works in the API Explorer it will work from the Contact Form too.

  • To be honest, I don't find any dupe check parameter/functionality in the API Explorer. I'm quite new to CiviCRM.
    – Marco
    Commented Aug 20, 2019 at 12:07
  • I do :-) If you do a contact entity and create as action you get a list of parameters. Dupe check is one of them :-) Commented Aug 20, 2019 at 12:44
  • Great! This helped a lot! Actually there is a dupe_check parameter. In my case, that wasn't working because I didn't have any Unsupervised dedupe rule. So I've just set the rule I need as Unsupervised...et voila! This is now working: contact_type=Individual&source=SitoWeb&dupe_check=1 Thank you Erik!
    – Marco
    Commented Aug 20, 2019 at 12:55

Thanks to @ErikH - CiviCooP I finally managed to have a duplicate check before creating a new Contact in CiviCRM.

So, first of all, you have to check that you have an Unsupervised dedupe rule for Individuals.

If so, these parameters will work just fine:


Otherwise, set the rule you want to use as Unsupervised (or create a new one if needed) and use the code above.

Thank you again!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.