Providing Authentication in header in Webhook POST request

Hello! I am trying to create an alert using the Webhook notification channel. How do I provide header parameters in my POST request?

To give more context, what I need to do is to POST to ClickUp API, to create a ticket automatically when an alert is raised. To do this, I need to provide the Bearer token in the header but the only way to provide authentication is BasicAuth (username and password), which doesn’t work with the API. What can I do to get around this problem?

Any help is appreciated. Thanks!

1 Like

welcome to the :grafana: forum, @santrupta

I don’t there is a way. It might be worth filing a feature request for one. I think the alerting folks would need to replace the current component in the configuration UI with one that allows the addition of custom headers.

Thanks @matttabrams!

This has been brought up in the forum but there is no solution available yet. Custom Headers on HTTP webhook · Issue #9813 · grafana/grafana · GitHub

1 Like