Skip to main content
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.write
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version. Send v3.

Available optionsv3
Example:v3

Path Parameters

contactIdstringrequired

Contact Id

Example:ve9EPM428h8vShlRW1KT

Body

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"]