VMware Modern Apps Community
elsajmayer
Contributor
Contributor

Is there a way to attach the alert id to the alert email, or is there a way to call the GET /api/v2/alert/{id} endpoint using the alert url from email body?

I am trying to tie together the alert email to an api call.

Ideally I would like to receive the email alert, and grab some parameter(Alert ID or URL) and use it to call the API for more information on the alert.

Is it possible to attach the alert id to the email?

or

Is it possible to call the endpoint using the specific alert url from the email?

Thank you

0 Kudos
1 Reply
elsajmayer
Contributor
Contributor

Hi mpolyakova!

We believe using webhooks (Managing Webhooks) would be the best approach in your case - webhook templates are highly customizable and you get access to all the alert's fields. Please let us know if this would work for you!

-Vasily

0 Kudos