Possible to add multiple tags in one API call?

I’m currently able to add one tag, but I would like to add multiple tags in the one api call. To keep my requests down.

Is there a way to do this?
I thought something like this as the JSON but it doesn’t work

{
“contactTag”: [{
“contact”: “1”,
“tag”: “20”
},
{
“contact”: “1”,
“tag”: “22”
}]
}

Thanks

Hi,

I have not tested, but it appears the v1 API contact_edit endpoint allows you to pass a comma-delimited list of tags.

I will follow up if I find any other options.

Hi dneal,

I’m moving away from the older apis, and would like to use v3 only.
Thanks

Unfortunately, v3 is not at parity with v1. There is currently no way to bulk assign tags to a contact using the v3 API.

1 Like

Hi dneal,

ok thanks for following up with this, I didn’t think I could. Would be a nice update to make API more efficient.
Currently send between 1 - 6 requests depending on the users preference, when they update their email preferences