I’ve been trying to send in a message to a nextcloud talk room, via webhooks, as a registered normal user, with no success so far. We use this feature extensively with Slack, but we would like to do this with Nextcloud instead.
The use case is to be able to send a message when something has happened as part of a CI workflow in Github or such.
Send a message “Hello world” to a room which allows for it.
So far, I have found no information about how to achieve this with simple tools like curl, python etc. which to me seems like a pretty standard thing nowadays.
For the bot path, I don’t understand at all how this can be achieved, especially as a “normal” user. The documentation seems to indicate that only admins can enable bots. If that is the case, the development process will become unbearable as I would have to call admin every time I would need to test something?
Its really complicated with nextcloud, which is so easy in slack and used massively. A real bummer.
A followup on this thread is how I can create a low-access-level-key or similar with the sole access-rights to be able to send these webhooks to the specific room.
The security implications are a bit too wide using my own account as part of the authentication, whereas I would rather want a low-access-level credential to do this.
It would allow me to distribute that “app-key” without risking it being used to access other stuff in Nextcloud (since I would at present, distribute both username + api-key.)