This solved my issue : https://stackoverflow.com/a/78933760/19252746
If you add the bot, have scopes etc. this would solve your problem. Slacks official doc is wrong i believe. This answer uses POST instead of PUT.