I am trying to check if a contact exist already before creating it.
below is a sample of my code,
$contact_fields_index = array("name"=>"Paul Pierre", "mail"=>"paul@barnardmail.net");
$existingContacts = PodioContact::get_for_app( $PODIO_APPID , $contact_fields_index);
$existingContacts
is always empty, even though the contact exists in the workspace.
What am I doing wrong ?