I’ve been using the PHP SDK to interact with the API, and I have managed to successfully create contacts and include a couple of custom fields. I’m not trying to add a tag to the contacts as I create them so trigger a campaign. However, I have tried many different formats but with no success. The best thing I’ve been able to get so far is a message: “Tags can’t be added or removed through this object”.
I have created a new contact tag, which has an id of 103.
Here is a screenshot of the array from my request. Note: It works perfectly fine if I remove the tag_ids.
So, how can I successfully add tags while creating a new contact? The field is there in the documentation, so I assume it’s possible.