INTEGRITY Cloudflare Docs

Lists API endpoints

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

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

For authentication instructions, refer to the Cloudflare API's Get started page.

For help with making API calls and paginating results, refer to Make API calls.

The Lists API supports the operations outlined below. Visit the associated links for examples.

Manage lists

Create a list

Get lists

Get a list

Update a list

Delete a list

Manage items in a list

Nearly all the operations for managing items in a list are asynchronous. When you add or delete a large amount of items to or from a list, there may be a delay before the bulk operation is complete.

Asynchronous list operations return an operation_id, which you can use to monitor the status of an API operation. To monitor the status of an asynchronous operation, use the Get bulk operation status endpoint and specify the ID of the operation you want to monitor.

When you make requests to a list while a bulk operation on that list is in progress, the requests are queued and processed in sequence (first in, first out). Requests for successful asynchronous operations return an HTTP 201 status code.

Get list items

Get a list item

Create list items

Update all list items

Delete list items