Using curl command to send notification to zoom channel via webhook url and secret token | Community
Skip to main content
Newcomer
January 16, 2025
Question

Using curl command to send notification to zoom channel via webhook url and secret token

  • January 16, 2025
  • 1 reply
  • 1 view

Hi,

Not sure if this is the right place for posting this query, if not then please guide whom should I approach?

I am trying to send notification messages to zoom channel using curl command.

I got the webhook url and secret token from zoom+gitlab integration setup

 

curl -X POST -H "Content-Type: application/json1" \
     -H "Authorization: Bearer TOKEN" \
     --data '{
           "text": "hello"
         }' https://applications.zoom.us/addon/v1/gitlab/webhooks/eRJ2gJV9QSWymvXEKYn0FA?sig=<somealphanumericdata>&rnd=<somenumericdata>
 
But above command results in internal server error. Is the command correct?
Thanks in advance for any sort of guidance.

1 reply

sudhsrivAuthor
Newcomer
January 16, 2025

I have added content-type value as application/json to json1 cause it was not letting me post.