Is there a way to get a notification that a dataset has been created when creating a dataset via API? If I create a dataset via the UI, I get an e-mail notification. I would like the API to notify me too. - Actually I would like the API (create dataset) to notify all admins of the collection the dataset is added to.
It's a known issue, I'm afraid: notification/email inconsistencies when creating a dataset via API #4043
@Slava Tykhonov would probably suggest adding a database trigger: https://github.com/IQSS/dataverse-docker/tree/master/triggers
via the modularity doc: https://docs.google.com/document/d/1bXzV-cBBYTs5j8bzhdNpKBVfo29qulxue3WAn3Uzvos/edit?usp=sharing
Hooking on to this topic; configurable webhooks upon Dataverse actions or an event stack endpoint on the API would be absolutely amazing.
Use case here is that we plan to move to object storage, but unfortunately, the vendor that we intend to use has a file size limit that's quite low. There's a number of approaches I've offered, but the option I plan to push for is to perform the move sneakily (automagically isolate files smaller than the limit at predetermined interval (say, cron), copy them to object storage, update DV's database to point it directly). If I had an event stream of a webhook, however, I could handle this much more gracefully by listening specifically to events that would generate when people did stuff in the Dataverse.
(No rush, I can move forward without such a system, and I imagine you have other things lined up first, but it would open up DV to become a central brain in distributed applications, which would be awesome.)
I don't know where I wrote something about this before, but I definitely talked with people about it at DCM23. My vision here would be a pluggable notification system where mails are just one option, but you can provide others, like Webhooks, Kafka, Rabbit,...
Hmm, great ideas. Please go ahead and create issues for these!
Last updated: Oct 30 2025 at 05:14 UTC