Answers.Body: <p>The <code>dupe_check</code> works almost exactly the opposite from what you'd expect :)</p>
  <p>If you set <code>dupe_check</code> to <code>TRUE</code> in a <code>Contact.create</code> API call, then an unsupervised dedupe check will be performed.  If there IS a duplicate, then the contact won't be updated, the API call will return an error with a list of contact IDs that are matched.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-05-18T20:55:20.500Z
Answers.Text: Wow a 6 year old question now answered!
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-05-18T20:02:35.260Z
Answers.LastActivityDate: 2022-05-18T20:02:35.260Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>I want to import an old database using API Contact create. In the de-dupe rule documentation it mentions "They are also used when you Import contacts". I see in the API documentation that there exists a parameter 'dupe_check'. When set what will it do exactly? Will it use the rules? How will it respond when dupes are found? </p>
  
Tags: <drupal><api><developer>
Title: Will unsupervised dedupe rules be used in API Contact create?
ThreadText: # Will unsupervised dedupe rules be used in API Contact create?
  
  (Asked by: username_0 on 2016-10-12)
  
  I want to import an old database using API Contact create. In the de-dupe rule documentation it mentions "They are also used when you Import contacts". I see in the API documentation that there exists a parameter 'dupe\_check'. When set what will it do exactly? Will it use the rules? How will it respond when dupes are found?
  
  **Tags:** drupal, api, developer
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-05-18. Score: 2
  
  The `dupe_check` works almost exactly the opposite from what you'd expect :)
  
  If you set `dupe_check` to `TRUE` in a `Contact.create` API call, then an unsupervised dedupe check will be performed. If there IS a duplicate, then the contact won't be updated, the API call will return an error with a list of contact IDs that are matched.
  
  > **Comments:**
  > **username_2**: Wow a 6 year old question now answered!  
  
  ---
  
  