Docly

Docly

Did You Know?

Advanced visual search system powered by Ajax

Contact Tag

Estimated reading: 3 minutes 34 views

POST /v1/contacts/:contactId/tags/

				
					https://rest.gohighlevel.com/v1/contacts/:contactId/tags/				
			

Add Tags on contacts.

Authorization:

Provide your location api key (Bearer Token). You can find here

AUTHORIZATION Bearer Token

Token

<token>

HEADERS

Content-Type

application/json

PATH VARIABLES

contactId

sx6wyHhbFdRXh302LLNR

(Required) Contact Id

BODY raw (json)

				
					{
    "tags": [
        "dolore cillum",
        "ex proident cillum sed sint"
    ]
}				
			

EXAMPLE REQUEST (curl)

				
					curl --location 'https://rest.gohighlevel.com/v1/contacts/sx6wyHhbFdRXh302LLNR/tags/' \
--header 'Authorization: Bearer <token>' \
--data '{
    "tags": [
        "n",
        "in dolore esse dol"
    ]
}'				
			

EXAMPLE RESPONSE (json)

				
					{
  "tags": [
    "velit exer",
    "sed ad"
  ]
}				
			

DELETE /v1/contacts/:contactId/tags/

				
					https://rest.gohighlevel.com/v1/contacts/:contactId/tags/				
			

Delete tags from the contact.

Authorization:

Provide your location api key (Bearer Token). You can find here

HEADERS

Token

<token>

AUTHORIZATION Bearer Token

Content-Type

application/json

PATH VARIABLES

contactId

sx6wyHhbFdRXh302LLNR

(Required) Contact Id

BODY raw (json)

				
					{
    "tags": [
        "n",
        "in dolore esse dol"
    ]
}				
			

EXAMPLE REQUEST (curl)

				
					curl --location --request DELETE 'https://rest.gohighlevel.com/v1/contacts/sx6wyHhbFdRXh302LLNR/tags/' \
--header 'Authorization: Bearer <token>' \
--data '{
    "tags": [
        "n",
        "in dolore esse dol"
    ]
}'				
			

EXAMPLE RESPONSE (json)

				
					{
  "tags": [
    "consequat",
    "culpa ut"
  ]
}				
			

Leave a Comment

Share this Doc

Contact Tag

Or copy link

CONTENTS