Hi Nuno
What kind of alert? Mobile, web, app or Infra?
Please be aware that for Infra alerts we have a Beta version for SmartAlerts which are similar to all other SmartAlerts (Web, Mobile and App).
For "old-style" Infra "alerts", we use separate configs for event specification, alert and alert channel. See below.
App Alerts you can create with (this is the preferred way for Apps)
https://instana.github.io/openapi/#operation/createApplicationAlertConfig
Our old style event specification can be done with
https://instana.github.io/openapi/#operation/postCustomEventSpecification
But indeed, if you want to create an old-style alert (or alert channel), you have to use the PUT
https://instana.github.io/openapi/#operation/putAlert
and use your own random ID
Last, Infra SmartAlerts are here
https://instana.github.io/openapi/#operation/findActiveInfraAlertConfigs
Let me know if this helps or if you have more questions
Tom
------------------------------
Tom Tammann
------------------------------
Original Message:
Sent: Thu August 29, 2024 03:20 PM
From: Nuno Goncalo Correia da Corte
Subject: Alerts API
Hi everyone! Is there a way to create an alert using API? At the documentation I just found GET, PUT and DELETE methods, there is no POST. Thanks in advance.
------------------------------
Nuno Goncalo Correia da Corte
------------------------------