oncall icon indicating copy to clipboard operation
oncall copied to clipboard

Use variables in the webhook url

Open Matvey-Kuk opened this issue 3 years ago • 2 comments

OnCall allows using variables in the webhook body. Customer just asked to allow using them in the webhook url. Please +1 if you need this feature!

Screenshot 2022-07-08 at 13 48 26

Matvey-Kuk avatar Jul 08 '22 13:07 Matvey-Kuk

+1 for this functionality, this could be useful for rest apis that have different endpoints per "runbook". This way we could add that as a defined label on the alert as a variable in the webhook url.

CastawayEGR avatar Jul 08 '22 15:07 CastawayEGR

+1 It will allow us to make integrations more flexible. For example, we have our own SMS backend, so it would be nice to trigger a webhook with a variable, containing on-duty username, for sending him an SMS message

PhantomPhreak avatar Aug 25 '22 08:08 PhantomPhreak

+1

amezioud avatar Sep 29 '22 16:09 amezioud

+1

atkrv avatar Oct 06 '22 21:10 atkrv