Get Orthanc to notify external service upon receive


once an exam is stored into orthanc, I would like orthanc to notify an external service (let’s say via HTTP or to run a script.

I’m actually using the API to poll Orthanc every 60 seconds, but that’s not what I want.

Can anyone suggest how to implement this or point me to where I could read/study about this ?
Thank you

Hi Julien,

There are a lot of events that can be used for this to trigger a Lua script ( and possibly a python script through the onChanges callback (


function OnStableStudy(studyId, tags, metadata)
from there you can initiate a http request such as:
local answer = HttpGet(web address)