Settings
v1

Update Cookie Consent Settings

Toggles cookie consent management for the account. When enabled, the Leadfeeder tracker does not set its cookie on page load until the visitor grants consent. Integration cookies cannot be modified through the API.

Side effect: if consent_management_enabled is set to true and the Leadfeeder Analytics cookie (lfa_cookie_enabled) is currently false, enabling consent management will also activate the Leadfeeder cookie automatically.

:::info Requires the accounts:write OAuth2 scope. :::

patch/v1/settings/cookie-consent

Query parameters

account_idstring required

The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.

Request body

Response

Cookie consent settings

Example response

{
  "data": {
    "type": "cookie_consent_settings",
    "id": "123456"
  },
  "meta": {
    "request_id": "cf054205-dd8c-4473-8689-07c30fe0789f"
  }
}

Changes

Changed in 1 of the 18 revisions of this API.1

Of the 18 revisions, 1 has no diff computed.