REST v2 - Tags - List Tagged Contacts - Missing Fields and Query Enhancement

@OmarAlmonte, another one to add to the tracker.

Additional fields need to be added to the Tags - List Tagged Contacts.

https://developer.infusionsoft.com/docs/restv2/#tag/Tags/operation/listContactsWithTagId

I have the following code for XML-RPC.

$contacts_data = $infusionsoft->dsQuery(
    'ContactGroupAssign', 1000, $page, 
    [ 'GroupId' => $search_tag_ids ], 
    [ 'ContactId','Contact.FirstName','Contact.LastName','Contact.Groups', 'Contact.Phone2'] 
);

The REST version does not expose the Phone Numbers nor the Tag Ids.

In addition, I can supply a list of Tag Ids to search on, whereas the REST only allows one Tag Id.

Hi, there’s already a gap listed in the tracker for retrieving tag–contact associations.

Once that work is implemented, you should be able to leverage the updated endpoint to retrieve the association data and then pull the additional details (like phone numbers) via the Contacts endpoint, or enrich from the Tags side as needed.

Also worth noting that REST v2 will not always map 1:1 with XML-RPC structures, so some differences in filtering (like multiple Tag IDs in a single request) are expected and may be handled differently going forward.

Thanks. I am aware of the structure changes which have been giving me other sets of issues to deal with.

Is allowing multiple Tag Ids going to be supported as well?