Answers.Body: <p>Did you try the same functionality in the API Explorer? </p>
  
  <p>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.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-20T12:07:22.833Z
Answers.Text: To be honest, I don't find any dupe check parameter/functionality in the API Explorer. 
  
  I'm quite new to CiviCRM.
Answers.UserDisplayName: Marco
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-20T12:44:33.240Z
Answers.Text: I do :-) If you do a contact entity and create as action you get a list of parameters. Dupe check is one of them :-)
Answers.UserDisplayName: ErikH - CiviCooP
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-20T12:55:24.300Z
Answers.Text: 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!
Answers.UserDisplayName: Marco
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-20T11:21:16.783Z
Answers.LastActivityDate: 2019-08-20T11:21:16.783Z
Answers.UserDisplayName: ErikH - CiviCooP
Answers.Body: <p>Thanks to @ErikH - CiviCooP I finally managed to have a duplicate check before creating a new Contact in CiviCRM.</p>
  
  <p>So, first of all, you have to check that you have an Unsupervised dedupe rule for Individuals.</p>
  
  <p>If so, these parameters will work just fine:</p>
  
  <pre><code>contact_type=Individual&amp;source=wordpress&amp;dupe_check=1
  </code></pre>
  
  <p>Otherwise, set the rule you want to use as Unsupervised (or create a new one if needed) and use the code above.</p>
  
  <p>Thank you again!</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-20T13:02:16.230Z
Answers.LastActivityDate: 2019-08-23T07:35:45.147Z
Answers.LastEditDate: 2019-08-23T07:35:45.147Z
Answers.UserDisplayName: Marco
Body: <p>I've installed the <strong><a href="https://wordpress.org/plugins/contact-form-7-civicrm-integration/" rel="nofollow noreferrer">Contact Form 7 CiviCRM integration</a></strong> plugin, and it works fine.</p>
  
  <p>I'm just wondering how to add a dupe_check parameter. </p>
  
  <p>If I try something like:</p>
  
  <p><code>contact_type=Individual&amp;source=SitoWeb</code></p>
  
  <p>it works.</p>
  
  <p>But if I add:</p>
  
  <pre><code>contact_type=Individual&amp;source=SitoWeb&amp;dupe_check=1
  </code></pre>
  
  <p>it doesen't.</p>
  
  <p>Here's the section where I have to add those parameters:
  <a href="https://i.sstatic.net/tRT87.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/tRT87.jpg" alt="screenshot"></a></p>
  
  <p>Without dupe_check the same contact could be added X times for X times he/she submits the form.</p>
  
  <p>Thank you.</p>
  
Tags: <api><duplicate-contacts>
Title: Add dupe check parameter to an API call - Contact Form 7 plugin
ThreadText: # Add dupe check parameter to an API call - Contact Form 7 plugin
  
  (Asked by: username_0 on 2019-08-20)
  
  I've installed the **[Contact Form 7 CiviCRM integration](https://wordpress.org/plugins/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:
  
  `contact_type=Individual&source=SitoWeb`
  
  it works.
  
  But if I add:
  
  ```
  contact_type=Individual&source=SitoWeb&dupe_check=1
  
  ```
  
  it doesen't.
  
  Here's the section where I have to add those parameters:
  [![screenshot](https://i.sstatic.net/tRT87.jpg)](https://i.sstatic.net/tRT87.jpg)
  
  Without dupe\_check the same contact could be added X times for X times he/she submits the form.
  
  Thank you.
  
  **Tags:** api, duplicate-contacts
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2019-08-20. Score: 3 | Accepted answer
  
  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.
  
  > **Comments:**
  > **username_0**: To be honest, I don't find any dupe check parameter/functionality in the API Explorer.   I'm quite new to CiviCRM.  
  > **username_1**: I do :-) If you do a contact entity and create as action you get a list of parameters. Dupe check is one of them :-)  
  > **username_0**: 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!  
  
  ---
  
  ### Answer by username_0 on 2019-08-20. Score: 3
  
  Thanks to @username_1 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:
  
  ```
  contact_type=Individual&source=wordpress&dupe_check=1
  
  ```
  
  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!
  
  
  ---
  
  