Can you help double-check if the payload is correct - e.g. in the docs the user ids seem to come before the text. If you change the order, do you get the same error? Also, can you give more details on the error you’re seeing?
According to the troubleshooting section, Couldn't find the channel means that the channel doesn’t exist or is invalid. Can you help double-check the channel parameter?
Thanks again for your reply, now I start to understand how this works.
So I looked in the Channels table of the database and see the channel names of the private channels are composed like userid1__userid2. So I have to use the right order, userid2__userid1 is not working.
For private channels consisting of more than 2 users the naming rules seems to be different. I have a private channel consisting of 3 users which is named ccb18b7a4192b361c81f806282946177b75ee3b3.
Also, I get a 403 error, permission denied if I want to post in a private channel the creator of the webhook is not a part of. There is probably no way to get around this, right?