GET /accounts/{account_id}/email-security/settings/content_policies
Returns a paginated list of content policies. These policies match against the subject or body of emails using a pattern. Supports filtering by name or enabled status, and searching across name and pattern fields.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
account_id |
String | Yes |
Account identifier tag. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
page |
Integer | No |
Current page within paginated list of results. Default value: 1 |
order |
String | No |
Field to sort by. Valid values:
|
name |
String | No |
Filter by exact policy name. |
direction |
String | No |
The sorting direction. Valid values:
|
per_page |
Integer | No |
The number of results per page. Maximum value is 1000. Default value: 20 |
search |
String | No |
Search term for filtering records. Behavior may change. |
enabled |
Boolean | No |
Filter by enabled status. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.