cancel
Showing results for 
Search instead for 
Did you mean: 

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

sudhsriv
New Member
New Member

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 1

sudhsriv
New Member
New Member

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