API Endpoint(s) and/or Zoom API Event(s)
Not able to get this api to work with my chatbot token. Testing it from postman.
Pass in the correct headers of:
Authorization: Bearer ey…
Body: (raw, json)
“message”: “Invalid request body format.”,
quick update, I am able to get the api to work if I provide the user_jid in the body.
If I do not include user_jid, then it fails. Is the user_jid a required field for this api?
In the following link, its listed as optional: https://devsupport.zoom.us/hc/en-us/articles/360060333131-How-to-send-a-Chatbot-Message
Thanks for reaching out to the Zoom Developer Forum.
I am happy to hear that you were able to figure out this issue.
It looks like we need to update the documentation and include the user_jid as required instead of optional.
I will make sure to pass this feedback to our Docs team.
Thanks for the response.
So for the flow of sending a message from a chatbot to a channel, this means, we would need to pick a user from within that channel to use their user_jid to be able to send the message from the chatbot to the channel?
what user_jid did you use?
It looks like the user_jid is the value of the user on whose behalf the message is being sent.
We had the same issue but looks like this requirement has now been removed @wandrille ? It now works for us without specifying the user_jid when posting as the bot in a channel
@ian thank you for this info! It does look like the user_jid is not needed anymore.
@elisa.zoom can you confirm that this is now the valid path forward of not needing the user_jid?
Hey @wandrille let me test this on my end!