POST /accounts/{account_id}/cloudforce-one/events/queries/alerts/create
Create a new alert subscription for an event query
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
account_id |
String | Yes |
Account ID. |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
query_id |
Integer | Yes |
ID of the event query to create an alert for |
frequency |
String | No |
Alert frequency (immediate or daily) Valid values:
Default value: "daily" |
enabled |
Boolean | No |
Whether the alert is enabled |
notification_type |
String | No |
Type of notification (e.g., ans) Default value: "ans" |
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.