Web Visits
v1

Update Custom Feed

Changed on

Update an existing custom feed. All attributes are optional; only provided attributes will be updated.

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

patch/v1/web-visits/custom-feeds/{custom_feed_id}

Request

  • Base URL
    https://api.leadfeeder.com
  • URL
    https://api.leadfeeder.com/v1/web-visits/custom-feeds/{custom_feed_id}
  • Auth
    • API key in header X-Api-Key
    • or OAuth 2
      Authorization code: https://api.leadfeeder.com/v1/oauth/authorize
      Token URL: https://api.leadfeeder.com/v1/oauth/token scopes: web_visits:write

Path parameters

custom_feed_idstring required

The ID of the custom feed.

Query parameters

account_idstring required

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

Request body

Example request

{
  "data": {
    "attributes": {
      "advanced_filters": {
        "items": [
          {
            "items": [],
            "negated": false,
            "operator": "or",
            "type": "group"
          },
          {
            "items": [],
            "negated": true,
            "operator": "or",
            "type": "group"
          }
        ],
        "operator": "and",
        "type": "group",
        "version": 1
      },
      "name": "All companies",
      "notifications": [
        {
          "medium": "email",
          "sending_interval": "day",
          "user_id": 12345
        }
      ]
    },
    "type": "custom_feed"
  }
}

Response

Success

Example response

{
  "data": {
    "attributes": {
      "advanced_filters": {
        "items": [
          {
            "display_value": "Germany",
            "field": "country_code",
            "operator": "includes",
            "type": "filter"
          }
        ],
        "operator": "and",
        "type": "group"
      },
      "created_at": "2026-01-15T10:30:00.000Z",
      "deletable": true,
      "name": "All companies",
      "notifications": [
        {
          "medium": "email",
          "sending_interval": "day",
          "user_id": 12345
        }
      ],
      "updated_at": "2026-01-20T14:00:00.000Z",
      "viewable": true
    },
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "relationships": {
      "connected_list": {
        "id": "512"
      },
      "created_by": {
        "id": "12345"
      },
      "folder": {
        "id": "42",
        "type": "custom_feed_folder"
      }
    },
    "type": "custom_feed"
  },
  "meta": {
    "request_id": "cf054205-dd8c-4473-8689-07c30fe0789f"
  }
}

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the new optional request property ///

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status