Add a new reminder type to call an external API - a webhook

Hi,

I was reading the documentation to setup a correct environment to develop a feature in Nextcloud.
The documentation suggested to share with the community first, so that’s what I’m doing :slight_smile:

I would like the calendar reminders to call an external API.
If I read correctly, reminders can only be AUDIO, DISPLAY or EMAIL.
I intend to add a new type of reminder : WEBHOOK
When the reminder is triggered, Nextcloud will send and HTTP POST request to a configurable URL.

If someone has already done something like that, advices are appreciated.
Have a good day !

Pierre

I fear this is not manageable easily. The standard for WebDAV/CalDAV defines a fixed set of entries in the ACTION property. These are the named three.

So, I doubt there will be something doable unless you do so non-standard.