Docly

Docly

Did You Know?

Docly turns out that context is a key part of learning.

Contact Campaign

Estimated reading: 3 minutes 25 views

POST /v1/contacts/:contactId/campaigns/:campaignId

				
					https://rest.gohighlevel.com/v1/contacts/:contactId/campaigns/:campaignId				
			

Add contact to campaign.

Authorization:

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

AUTHORIZATION Bearer Token

Token

<token>

PATH VARIABLES

contactId

sx6wyHhbFdRXh302LLNR

(Required) Contact Id

campaignId

Y2I9XM7aO1hncuSOlc9L

(Required) Campaign Id

EXAMPLE REQUEST (curl)

curl --location --request POST 'https://rest.gohighlevel.com/v1/contacts/sx6wyHhbFdRXh302LLNR/campaigns/Y2I9XM7aO1hncuSOlc9L' \
--header 'Authorization: Bearer <token>'

EXAMPLE RESPONSE (json)

				
					""				
			

DELETE /v1/contacts/:contactId/campaigns/:campaignId

				
					https://rest.gohighlevel.com/v1/contacts/:contactId/campaigns/:campaignId				
			

Remove contact from campaign.

Authorization:

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

AUTHORIZATION Bearer Token

Token

<token>

PATH VARIABLES

contactId

sx6wyHhbFdRXh302LLNR

(Required) Contact Id

campaignId

Y2I9XM7aO1hncuSOlc9L

(Required) Campaign Id

EXAMPLE REQUEST (curl)

				
					curl --location --request DELETE 'https://rest.gohighlevel.com/v1/contacts/sx6wyHhbFdRXh302LLNR/campaigns/Y2I9XM7aO1hncuSOlc9L' \
--header 'Authorization: Bearer <token>'				
			

EXAMPLE RESPONSE (json)

				
					""				
			

DELETE /v1/contacts/:contactId/campaigns/remove-all

				
					https://rest.gohighlevel.com/v1/contacts/:contactId/campaigns/remove-all				
			

Remove contact from every campaign.

Authorization:

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

AUTHORIZATION Bearer Token

Token

<token>

PATH VARIABLES

contactId

sx6wyHhbFdRXh302LLNR

(Required) Contact Id

EXAMPLE REQUEST (curl)

				
					curl --location --request DELETE 'https://rest.gohighlevel.com/v1/contacts/sx6wyHhbFdRXh302LLNR/campaigns/remove-all' \
--header 'Authorization: Bearer <token>'				
			

EXAMPLE RESPONSE (json)

				
					""				
			

Leave a Comment

Share this Doc

Contact Campaign

Or copy link

CONTENTS