[Solved] API: Filtered contact search and/or contact duplicate prevention

0

We’re trying to add to existing Surveys using the API, in order to integrate with Ruby on Rails. There seem to be a couple of issues with the Contacts that are making it messy to use:

  1. “allowdupe=false” does not seem to do anything when adding a Contact (ie: another entry is added with the same email address on multiple “_method=PUT” calls).
  2. There does not seem to be a way to verify that a Contact does not already exist with the same email address without downloading the entire list and parsing it into an array.

Any suggestions for cleanly avoiding duplicate Contacts via the API?

Bernadette asked

    Best answer

    0

    Hi Bernadette, thanks for posting to Community! I’m very sorry for the bad behavior in our app that you’ve run in to, and would be happy to have that corrected by our Engineering team.

    To be clear, the “allowdupe” parameter should be doing exactly what you want — if you specify allowdupe=false, you should not end up with duplicate contacts.

    I’ll update this answer with a link to the Known Issue once it has been added, so you may opt to be notified once this has been resolved if you like

    Edit: This issue has now been added to our Known Issues! You may view and subscribe to updates here: https://community.surveygizmo.com/?p=3970

    Nathan - Survey Astronaut answered
      ×

      Login

      Question stats

      • Active
      • Views403 times
      • Answers1 answer
      • Followers0 followers