Description
Is it mandatory to install a chatbot in order to send message?
Error
My chatbot is not installed (and i don’t want to because the it’s only goal is to send messages to a channel) and when I post to im/chat/messages a message I receive the following error: {code: 7004, message: ‘Not authorized.’}
Which App Type (OAuth / Chatbot / JWT / Webhook)?
Chatbot (authenticate with oauth/token?grant_type=client_credentials
How To Reproduce (If applicable)
Steps to reproduce the behavior:
Create a chatbot
Add scope imchat:write:admin
Don’t install the bot
Authenticate with oauth/token?grant_type=client_credentials
Get access token and call im/chat/messages
More
If we must install the bot:
can it be silent (no welcome message to hundreds of users)?
can it be not visible?
can I do the same with another technique (I simply want to send a message to some users when our app monitoring detect an error)