TagsVersion: v3
Add Tags
POST/contacts/{contactId}/tags
Adds tags to a contact. Tags are trimmed, lower-cased and de-duplicated before they are saved. A tag that does not exist on the location yet is also created on the location. Tags the contact already has are ignored.
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
contacts. writeAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Headers
Versionstringrequired
API Version. Send v3.
Available options
v3Example:
v3Path Parameters
contactIdstringrequired
Contact Id
Example:
ve9EPM428h8vShlRW1KTBody
tagsstring[]required
List of tags to add or remove
Example:
["minim","velit magna"]Response
Successful response
tagsstring[]required
All tags on the contact after the operation
Example:
["vip","newsletter"]tagsAddedstring[]required
Tags from the request that were not on the contact and were added by this request. Tags the contact already had are left out, so this is empty when nothing changed.
Example:
["newsletter"]