HELP: Can I Create Alerts (Checks, Notification Endpoint, Notification Rule) via API or any client lib?

Hello yes you can create any task with the API. And an alert is just a special type of task.

Here are the API docs for it:
https://docs.influxdata.com/influxdb/v2.0/api/#operation/PostTasks

Here’s a blog with a postman project you can use that includes everything you need:

Here’s info on how to create an alert in notification in a single task:

Here’s another community question with both:

1 Like