Hi,
I am adding a contact with the PHP RESTfull API but need to get the ID so that I can apply a tag.
I am using ‘$infusionsoft->contacts()->create($contact);’ which successfully adds the contacts. How would I then get the ID of that contact just created?
Any help would be greatly appreciated
1 Like
im adding contact with duplicate check using Email address:
$conID = $infusionsoft->contacts('xml')->addWithDupCheck($contactDetails, 'Email');
printing $conID returns the contact ID, i think using following command will also return contact ID:
$conID = $infusionsoft->contacts()->create($contact);