ActiveCampaign Forum

Use tagType to filter API tag list


#1

I am working with the https://:account.api-us1.com/api/3/tags to retrieve a tag id. I see I can use filters[tag]= to find my exact tag, but I noticed there are different tag types. There doesn’t seem to be a filter for tagType. It would be useful to filter this list of tags by tag type. For getting all of one type of tag, or a more specific match for a tag and tag type search.

If this should work let me know what I am doing wrong please.

https://:account.api-us1.com/api/3/tags?filters[tagType]=contact
https://:account.api-us1.com/api/3/tags?filters[tag]=sometag&filters[tagType]=contact