# Sending alerts to Zoom via webhook from Alertmanager

**URL:** <https://devforum.zoom.us/t/sending-alerts-to-zoom-via-webhook-from-alertmanager/89538>\
**Category:** API and Webhooks\
**Tags:** webhooks\
**Created:** [June 2, 2023, 1:10pm UTC](https://devforum.zoom.us/t/sending-alerts-to-zoom-via-webhook-from-alertmanager/89538 "2023-06-02T13:10:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ivan.vinogradov](https://avatars.discourse-cdn.com/v4/letter/i/ebca7d/32.png) [@ivan.vinogradov](https://devforum.zoom.us/u/ivan.vinogradov)\
**Post date:** [June 2, 2023, 1:10pm UTC](https://devforum.zoom.us/t/sending-alerts-to-zoom-via-webhook-from-alertmanager/89538/1 "2023-06-02T13:10:32Z")

</div>

Hello everybody!  
I ran into a problem when connecting sending alerts via Alert manager to webhook zoom.  
Token and endpoint url received in the chat. The Curl request goes fine.  
There was a problem when adding Alert manager to the configuration.  
Part of the configuration is given below.

```auto
- name: "zoom"
  webhook_configs:
  - url: 'url'
    send_resolved: true
    http_config:
      authorization:
         credentials: 'token'

```

amtool check-config passes without errors. An error is generated when connecting to Alert manager.

`msg="Notify for alerts failed" num_alerts=2 err="zoom/webhook[0]: notify retry canceled due to unrecoverable error after 1 attempts: unexpected status code 400: url: Invalid request body format."`

Can you tell me what this could be related to? Maybe I need to specify a special type in authorization?

Also, please tell me how I can add an incoming webhook (a bot that sends notifications) to the channel.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [June 12, 2023, 3:29pm UTC](https://devforum.zoom.us/t/sending-alerts-to-zoom-via-webhook-from-alertmanager/89538/2 "2023-06-12T15:29:11Z")

</div>

Hi @ivan.vinogradov  
Thanks for reaching out to the Zoom Developer Forum and welcome to our community! I am happy to help here!  
Have you been able to troubleshoot this on your end or are you still looking for assistance on this?

---

<div class="post-metadata">

**Author:** ![ivan.vinogradov](https://avatars.discourse-cdn.com/v4/letter/i/ebca7d/32.png) [@ivan.vinogradov](https://devforum.zoom.us/u/ivan.vinogradov)\
**Post date:** [June 13, 2023, 9:17am UTC](https://devforum.zoom.us/t/sending-alerts-to-zoom-via-webhook-from-alertmanager/89538/3 "2023-06-13T09:17:20Z")

</div>

No, we haven’t fixed it yet. I still need help.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [June 14, 2023, 2:05pm UTC](https://devforum.zoom.us/t/sending-alerts-to-zoom-via-webhook-from-alertmanager/89538/4 "2023-06-14T14:05:00Z")

</div>

Could you please share with me the documentation for Alert manager please?  
@ivan.vinogradov

---

<div class="post-metadata">

**Author:** ![ivan.vinogradov](https://avatars.discourse-cdn.com/v4/letter/i/ebca7d/32.png) [@ivan.vinogradov](https://devforum.zoom.us/u/ivan.vinogradov)\
**Post date:** [June 14, 2023, 2:12pm UTC](https://devforum.zoom.us/t/sending-alerts-to-zoom-via-webhook-from-alertmanager/89538/5 "2023-06-14T14:12:49Z")

</div>

In fact, I’ve already figured it out. The problem is in the Alert manager, which substitutes Bearer in the header when sending, because of its format changes.  
That is, you need to send the header -H ‘Authorization: TOKEN’, and instead Alert manager substitutes Bearer by default, which results in -H ‘Authorization: Bearer TOKEN’. I tried to remove the authorization type, but without success. In Grafana, when setting up sending notifications using the web interface, the error is similar.  
In this regard, it is necessary to install a proxy server that will change the header before sending it to zoom.

---

<div class="post-metadata">

**Author:** ![mcquadenc](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mcquadenc/32/57773_2.png) [@mcquadenc](https://devforum.zoom.us/u/mcquadenc)\
**Post date:** [March 20, 2024, 10:10pm UTC](https://devforum.zoom.us/t/sending-alerts-to-zoom-via-webhook-from-alertmanager/89538/6 "2024-03-20T22:10:48Z")

</div>

You can define type authorization to “”:

```auto

receivers:
  - name: "zoom"
    webhook_configs:
    - url: "url"
      send_resolved: true
      http_config:
        authorization:
          type: ""
          credentials: "asdas123123"

```

It should be enough to fix it.

Ref.: [Configuration | Prometheus](https://prometheus.io/docs/alerting/latest/configuration/#http_config)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [March 24, 2025, 1:47pm UTC](https://devforum.zoom.us/t/sending-alerts-to-zoom-via-webhook-from-alertmanager/89538/7 "2025-03-24T13:47:38Z")

</div>

Closed on March 24, 2025, 1:47pm UTC

This topic was automatically closed 368 days after the last reply. New replies are no longer allowed.
