Hey fam I’m developing a custom contact sync with a clients booking system, so that when a booking is made the contact is either:
• Imported into Mautic if they don’t exist
• Updated with latest booking info if they do exist
What’s the best way to check if a contact exists before doing anything via the API?
As a slight side note, with Mailchimp this process is super simple. A contacts ID is simply the MD5 hash of the lowercase version of their email address, so if you do a PUT request with that ID, it does the above automatically - i.e. updates if exists, or create if doesn't. See here: https://developer.mailchimp.com/documentation/mailchimp/reference/lists/members/#