Register alert endpoint by API key

Hi everyone,

I have a staging and production environment. How to make the alerts endpoint different for each environment?

I tried with a different API key for each environment but the endpoint seems common…

Thank you for your help!

When creating an alert you can use the optional field target_url to specify the delivery address per alert. If this field is not set the default account-wide delivery address, specified using PUT /alerts/endpoint, will be used.

Oh great! I will try it!
Thanks for your answer :slight_smile: