We are evaluating Zoom against Webex Teams & MS Teams. We need to create incoming webhooks to post messages into chat channels. We have done this in all 3 products using the provided webhook apps (e.g. ‘Incoming Webhook’ app in Zoom Marketplace). Unfortunately, with Zoom, the notifications on messages sent via webhooks do not include any message content, just ‘app - incoming webhook’. So, the notifications aren’t very useful, unlike Webex/MS Teams, which show a preview of the message in the notification.
So instead we tried to use the Zoom API to post chat messages. This is proving difficult. As far as we can tell there is no way to do this via scripts using JWT. The only way seems to be an OAuth user-level appliction, which means we can’t interact with the API using a script (as per JWT), but have to build a web application?!
It seems crazy that we can’t create simple chat messages with useful notifications in Zoom, using a script. If someone can help us, this would probably make our decision to go with Zoom, as we like everything else about it
Enable Event Subscriptions on the Features page, and select which Webhooks you would like to subscribe to.
Install your Chatbot App on the Local Test page (make sure to fill in the required info, you can use a generic redirect URL because that won’t be needed).
Enable Event Subscriptions on the Features page, and select which Webhooks you would like to subscribe to.
We only need to post messages into chat channels, not subscribe to any events happening inside zoom, so I guess this is un-necessary.
Install your Chatbot App on the Local Test page (make sure to fill in the required info, you can use a generic redirect URL because that won’t be needed).
OK this was done.
Setup a way to accept the Webhooks, then[format the JSON body from the webhook in a Chatbot message type of your choice
Not sure what you mean by this, can you please clarify?
Then get a Chatbot Token and Send the Chatbot Message to a Zoom Channel or user
We got the chatbot token OK, but can’t see where to get the required information for posting the message (e.g. robot_jid)
So we have everything now except the to_jid - and to get get this we need an OAuth app or a Slash command, however, both need some server component on our side to receive the necessary responses?
What is the easier method for obtaining the to_jid and when will it be released?
@dan.atkinson were you able to get this going? I’m trying to do something very similar. Specifically trying to get my Zabbix monitoring server to send a message to a specific channel.
Hi - No i didn’t get it working, we gave up for the time being, and all our webhooks are still running in Webex Teams, which is working great and very easy to configure.
I will revisit Zoom webhooks at some point - hopefully they can make it easier like Webex & MS Teams, although given the freeze on new features and security-focus, I guess this won’t be anytime soon.
@tommy That brings me back to my original question where I listed my code. I get an internal server error. It works fine when I set format=fields but not when I set to format=full.
My whole goal here is to add a mention so that I will get push notifications on my phone when a message arrives in that channel. Currently the webhook sends the message to the channel but no notification when I send format=fields.
The problem we found with the ‘incoming webhook’ app is that the message notifications say ‘incoming webhook message’ or similar, rather than giving a preview of the message. This makes the notifications pretty useless, hence we can’t use incoming webhook app