Skip to main content
POST
/
funnels
/
funnel
/
cookie-consent
cURL
curl --request POST \
  --url https://services.leadconnectorhq.com/funnels/funnel/cookie-consent \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "locationId": "<string>",
  "funnelId": "<string>",
  "isCookieEnabled": true,
  "style": "<string>",
  "bgColor": "<string>",
  "textColor": "<string>",
  "primaryTextColor": "<string>",
  "secondaryTextColor": "<string>",
  "linkColor": "<string>",
  "primaryColor": "<string>",
  "secondaryColor": "<string>",
  "isOwnPolicyLink": "<string>",
  "policyLink": "<string>",
  "policyLinkText": "<string>",
  "selectedFont": "<string>",
  "fontSize": "<string>",
  "complianceType": "<string>",
  "msgDescription": "<string>",
  "signature": "<string>",
  "customiseTextColor": "<string>",
  "customiseColor": "<string>",
  "showCustomise": true,
  "consentExpiration": 123,
  "reloadPage": true,
  "cookieList": [
    "<string>"
  ],
  "cookieListSettings": {},
  "layoutSettings": {},
  "version": 123,
  "disablePageLevelCookieConsent": true,
  "pageId": "<string>"
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
locationId
string
required
funnelId
string
required
style
string
required
bgColor
string
required
textColor
string
required
primaryTextColor
string
required
secondaryTextColor
string
required
primaryColor
string
required
secondaryColor
string
required
selectedFont
string
required
fontSize
string
required
complianceType
string
required
msgDescription
string
required
signature
string
required
customiseTextColor
string
required
customiseColor
string
required
showCustomise
boolean
required
reloadPage
boolean
required
layoutSettings
object
required
version
number
required
pageId
string

Response

201 - undefined
Last modified on March 4, 2026