---
description: API endpoints for managing filters and firewall rules.
title: Endpoints
image: https://developers.cloudflare.com/og-docs.png
---

[Skip to content](#main-content)

> Documentation Index  
> Fetch the complete documentation index at: https://developers.cloudflare.com/firewall/llms.txt  
> Use this file to discover all available pages before exploring further.

# Endpoints

Last updated Aug 24, 2026|Copy as Markdown|[View as Markdown](https://docs-durable-objects-instance-replaced-errors.previews.developers.cloudflare.com/firewall/api/cf-filters/endpoints/index.md)|[Agent setup](https://docs-durable-objects-instance-replaced-errors.previews.developers.cloudflare.com/agent-setup/)

To invoke a Cloudflare Filters API operation, append the endpoint to the Cloudflare API base URL:

```txt
https://api.cloudflare.com/client/v4/
```

For authentication instructions, refer to [Getting Started: Requests](https://docs-durable-objects-instance-replaced-errors.previews.developers.cloudflare.com/fundamentals/api/) in the Cloudflare API documentation.

For help with endpoints and pagination, refer to [Getting Started: Endpoints](https://docs-durable-objects-instance-replaced-errors.previews.developers.cloudflare.com/fundamentals/api/).

Note

The Filters API endpoints require a value for `<ZONE_ID>`.

To retrieve a list of zones associated with your account, use the [List Zones](https://docs-durable-objects-instance-replaced-errors.previews.developers.cloudflare.com/api/resources/zones/methods/list/) operation and note the Zone ID associated with the domain for which you want to manage filters.

The Cloudflare Filters API supports the operations outlined below. Visit the pages in this section for examples.

| Operation                                                                                                                                               | Method & Endpoint                            | Notes                                                                                                                                                             |
| ------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Create filters](https://docs-durable-objects-instance-replaced-errors.previews.developers.cloudflare.com/api/resources/filters/methods/create/)        | POST zones/<ZONE\_ID>/filters                | Handled as a single transaction. If there is an error, the entire operation fails.                                                                                |
| [Get filters](https://docs-durable-objects-instance-replaced-errors.previews.developers.cloudflare.com/api/resources/filters/methods/list/)             | GET zones/<ZONE\_ID>/filters                 | Lists all current filters. Results return paginated with 25 items per page by default. Use optional parameters to narrow results.                                 |
| [Get a filter](https://docs-durable-objects-instance-replaced-errors.previews.developers.cloudflare.com/api/resources/filters/methods/get/)             | GET zones/<ZONE\_ID>/filters/<FILTER\_ID>    | Retrieve a single filter by ID.                                                                                                                                   |
| [Update filters](https://docs-durable-objects-instance-replaced-errors.previews.developers.cloudflare.com/api/resources/filters/methods/bulk%5Fupdate/) | PUT zones/<ZONE\_ID>/filters                 | Handled as a single transaction. All filters must exist for operation to succeed. If there is an error, the entire operation fails.                               |
| [Update a filter](https://docs-durable-objects-instance-replaced-errors.previews.developers.cloudflare.com/api/resources/filters/methods/update/)       | PUT zones/<ZONE\_ID>/filters/<FILTER\_ID>    | Update a single filter by ID.                                                                                                                                     |
| [Delete filters](https://docs-durable-objects-instance-replaced-errors.previews.developers.cloudflare.com/api/resources/filters/methods/bulk%5Fdelete/) | DELETE zones/<ZONE\_ID>/filters              | Delete existing filters. Must specify list of filter IDs.Empty requests result in no deletion. Returns HTTP status code 200 if a specified filter does not exist. |
| [Delete a filter](https://docs-durable-objects-instance-replaced-errors.previews.developers.cloudflare.com/api/resources/filters/methods/delete/)       | DELETE zones/<ZONE\_ID>/filters/<FILTER\_ID> | Delete a filter by ID.                                                                                                                                            |

Was this helpful?

YesNo

## On this page

[![](https://docs-durable-objects-instance-replaced-errors.previews.developers.cloudflare.com/_astro/logo.te5VL_aD.svg)Docs](https://docs-durable-objects-instance-replaced-errors.previews.developers.cloudflare.com/)

```json
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/firewall/api/cf-filters/endpoints/#page","headline":"Endpoints - Filters · Cloudflare Firewall Rules (deprecated) docs","description":"API endpoints for managing filters and firewall rules.","url":"https://developers.cloudflare.com/firewall/api/cf-filters/endpoints/","inLanguage":"en","image":"https://developers.cloudflare.com/og-docs.png","dateModified":"2026-08-24","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
```
