# Upload images in S3

**URL:** https://discourse.orthanc-server.org/t/upload-images-in-s3/3744
**Category:** General
**Tags:** rest-api
**Created:** [July 26, 2023, 6:03pm UTC](https://discourse.orthanc-server.org/t/upload-images-in-s3/3744 "2023-07-26T18:03:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![juangaleano](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/j/b9bd4f/32.png) [@juangaleano](https://discourse.orthanc-server.org/u/juangaleano)
#### Post date: [July 26, 2023, 6:03pm UTC](https://discourse.orthanc-server.org/t/upload-images-in-s3/3744/1 "2023-07-26T18:03:44Z")

</div>

Dear community,

I’m asking for your help because I need to understand what instances of the API to use if I want to:

- Create a study in the Orthanc server
- Upload the images related to the study in the Orthanc server

Thanks for your help.

---

<div class="post-metadata">

### Author: ![bcrickboom](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/b/e274bd/32.png) [@bcrickboom](https://discourse.orthanc-server.org/u/bcrickboom)
#### Post date: [July 27, 2023, 12:48pm UTC](https://discourse.orthanc-server.org/t/upload-images-in-s3/3744/2 "2023-07-27T12:48:51Z")

</div>

Hi Juan,

You can’t create an empty study in Orthanc.  
You could use the `/tools/create-dicom` ( see [Orthanc REST API](https://api.orthanc-server.com/index.html#tag/System/paths/~1tools~1create-dicom/post) and [Convert png/JPEG to DICOM format - #9 by jodogne](https://discourse.orthanc-server.org/t/convert-png-jpeg-to-dicom-format/1534/9)) route to create the study with your first image and then add the other images to the newly created study.

HTH,
