← Tags

Add Tags

Add one or more tags to an existing contact. If a tag already exists on the contact it will not be duplicated.

POST/contacts/:contactId/tags
Scope
contacts.write
Auth Method
Bearer Token
Token Type
Sub-Account / Company

Header Parameters

ParameterTypeDescription
AuthorizationrequiredstringBearer {access_token}
VersionrequiredstringAPI Version
Possible values: 2021-07-28
Content-Typerequiredstringapplication/json

Path Parameters

ParameterTypeDescription
contactIdrequiredstringThe unique ID of the contact to add tags to.

Body Parameters

ParameterTypeDescription
tagsrequiredstring[]An array of tag names to add to the contact. Tags are case-sensitive strings.
Example RequestcURL
curl -X POST \
  'https://services.leadconnectorhq.com/contacts/{contactId}/tags' \
  -H 'Authorization: Bearer {access_token}' \
  -H 'Version: 2021-07-28' \
  -H 'Content-Type: application/json' \
  -d '{
    "tags": ["vip", "newsletter", "austin-tx"]
  }'

Response — 200 OK

Example ResponseJSON
{
  "tags": ["vip", "newsletter", "austin-tx"]
}

Idempotent Operation

Adding a tag that already exists on the contact is a no-op for that tag — it will not create a duplicate. The response always returns the full set of tags that were sent in the request.