Thank you for reaching out to the Zoom Developer Forum. Make sure that you are using the Base JSON Structure that is required when sending custom messages. Specifically, make sure that you have the proper IDs and the content object.
But why do the docs say NOT to send the base json structure? The part you’ve included above says “respond to the HTTP POST request with a Chatbot Message content object". The content object is within the base json structure, so clearly doesn’t include it.
And the example given is labelled as the “Response body” – ie. the entire response body – and only contains the content object, as is specified in the docs.
Great! I’m glad to hear that worked for you. I agree that our documentation could be a little clearer on this, thank you for mentioning that. I’ll work with our documentation team to see if we can improve the wording here. We should be clearer that the entire JSON structure is required.
When it comes to the Response Body section - I think it is correct. That should be an example of what you get in response when making your request with the full JSON structure. Let me know if that makes sense.
When it comes to the Response Body section - I think it is correct. That should be an example of what you get in response when making your request with the full JSON structure. Let me know if that makes sense.
I don’t think this is correct. Sending a welcome message is different to sending a normal message.
When sending a normal message, you make a request and would expect a response body.
In this case however, you’re responding to a request from Zoom. It’s more like a webhook action than an API call.
So the response body is what you’re responding with after receiving a bot_installed event. There can be no response to that as it’s already a response itself.
So the example given is incorrect, because it doesn’t include the base json structure which is apparently required.