How to send a chat message to a public channel?

Description
I’m trying to use the /chat/users/:userId/messages API to post a message to a chat channel using postman. The message gets posted fine when using “to_contact” but doesn’t work when using “to_channel”

Error
{

"code": 4130,

"message": "Channel does not exist: test4."

}

Which App Type (OAuth / Chatbot / JWT / Webhook)?
Oauth

Which Endpoint/s?
{{baseUrl}}/chat/users/:userId/messages?to_channel=test4

How To Reproduce (If applicable)
Steps to reproduce the behavior:

  1. Request URL / Headers (with credentials) / Body
  2. See error message

Screenshots (If applicable)

The channel test4 exists.

Hi @jsgreen,

Can you confirm you’re passing the correct value for channel ID? I believe this should be an alphanumeric ID, and can be retrieved by calling this endpoint:

Let me know if this helps—Thanks,
Will

Tried that already, doesn’t show any data.

Hi @jsgreen,

Thanks for confirming. Can you send the full raw request with values (user ID, channel ID) to me at developersupport@zoom.us, along with the account ID? I’d like to take a closer look and will be happy to escalate this to Engineering if needed.

Thanks,
Will