Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

Alert policy for Monitor via Rest API

api

#1

Hello,

Using this guide: https://docs.newrelic.com/docs/apis/synthetics-rest-api/monitor-examples/manage-synthetics-monitors-rest-api#create-monitor I am able to create a new monitor.
But how can I setup the notification for failure? There is nothing in the API specs that seems to allow me to set the alert policy.

Thank you.


#2

Hi @FRogeret - Check the API documentation for alerts to add the condition to the policy for the Synthetic failure.