# Send Dicom Files

**URL:** https://discourse.orthanc-server.org/t/send-dicom-files/2767
**Category:** Google Groups archive
**Created:** [January 14, 2022, 12:03pm UTC](https://discourse.orthanc-server.org/t/send-dicom-files/2767 "2022-01-14T12:03:45Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Vesa\_Alexandru](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/v/eb9ed0/32.png) [@Vesa\_Alexandru](https://discourse.orthanc-server.org/u/Vesa_Alexandru)
#### Post date: [January 14, 2022, 12:03pm UTC](https://discourse.orthanc-server.org/t/send-dicom-files/2767/1 "2022-01-14T12:03:45Z")

</div>

Hello,  
I have a question regarding the communication between Orthanc Server and External API platform.  
I have an Orthanc Server hosted in cloud. When an entity send dicom files to Orthanc I want that Orthanc redirect the uploaded dicom files to the External API Platform.

Is this possible?  
Thanks a lot,  
Alex

---

<div class="post-metadata">

### Author: ![jodogne](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/jodogne/32/1511_2.png) [@jodogne](https://discourse.orthanc-server.org/u/jodogne)
#### Post date: [January 14, 2022, 8:04pm UTC](https://discourse.orthanc-server.org/t/send-dicom-files/2767/2 "2022-01-14T20:04:06Z")

</div>

Hello,

You are visibly looking for the autorouting concept. For instance in Lua:  
[https://book.orthanc-server.com/users/lua.html#auto-routing-of-dicom-images](https://book.orthanc-server.com/users/lua.html#auto-routing-of-dicom-images)

You can develop more advanced scenarios using Python:  
[https://book.orthanc-server.com/plugins/python.html#auto-routing-studies](https://book.orthanc-server.com/plugins/python.html#auto-routing-studies)

HTH,  
Sébastien-

---

<div class="post-metadata">

### Author: ![Vesa\_Alexandru](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/v/eb9ed0/32.png) [@Vesa\_Alexandru](https://discourse.orthanc-server.org/u/Vesa_Alexandru)
#### Post date: [January 16, 2022, 10:02am UTC](https://discourse.orthanc-server.org/t/send-dicom-files/2767/3 "2022-01-16T10:02:16Z")

</div>

Awesome. Thanks a lot.

One more question. How should I install the orthanc for using it as a library? I’ve seen in those examples “import orthanc”.

Thanks ,  
Alex

---

<div class="post-metadata">

### Author: ![jodogne](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/jodogne/32/1511_2.png) [@jodogne](https://discourse.orthanc-server.org/u/jodogne)
#### Post date: [January 17, 2022, 8:28am UTC](https://discourse.orthanc-server.org/t/send-dicom-files/2767/4 "2022-01-17T08:28:16Z")

</div>

Hello,

The “import orthanc” corresponds to Python plugins. You can find their full documentation in the Orthanc Book:  
[https://book.orthanc-server.com/plugins/python.html](https://book.orthanc-server.com/plugins/python.html)

Sébastien-
