Add Tags to a Contact by Tag Name
Adds tags to a contact by tag name. If a tag with a given name does not exist, it is created on the fly. Accepts both POST and PATCH. Note this endpoint is under the /api/v2/ prefix β use Add Tags to a Contact by Tag Id (/api/v1/) when you already know the tag ids.
Path Parameters
dsidstringrequired
The dsid of the contact to add tags to.
HTTP Request Examples
[
"Tag A",
"Tag B"
]
HTTP Request Parameters
(body)array
JSON array of tag names (strings). Any names that don't match an existing tag will be created.
HTTP Response Examples
200
{
"Status": true,
"Message": "",
"Response": {}
}