# Create Process using API

**URL:** <https://forum.uipath.com/t/create-process-using-api/500172>\
**Category:** Activities\
**Tags:** web, question, orchestrator, activities\
**Created:** [December 19, 2022, 10:52am UTC](https://forum.uipath.com/t/create-process-using-api/500172 "2022-12-19T10:52:45Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![sneha\_arbole1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sneha_arbole1/32/269587_2.png) [@sneha\_arbole1](https://forum.uipath.com/u/sneha_arbole1)\
**Post date:** [December 19, 2022, 10:52am UTC](https://forum.uipath.com/t/create-process-using-api/500172/1 "2022-12-19T10:52:45Z")

</div>

Hi,

I want to create Processes in Orchestrator in specific Folder using API, but i am not getting how to do it.  
Please help me with this.

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [December 19, 2022, 11:12am UTC](https://forum.uipath.com/t/create-process-using-api/500172/2 "2022-12-19T11:12:43Z")

</div>

@sneha_arbole1

What issue are you facing?

Did you try the swagger file?

> **[Orchestrator - API References](https://docs.uipath.com/orchestrator/standalone/2022.10/api-guide/api-references)**
>
> The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...

Please check this

> [@Create a process from package using Orchestrator API](https://forum.uipath.com/t/create-a-process-from-package-using-orchestrator-api/230686/3):
>
> Hello! Yes, you can do those operations via Orchestrator API. if a process can be created (if first time package is published) using [Orchestrator](https://docs.uipath.com/orchestrator/docs/introduction) API ? It’s possible to create Processes using the POST ​/odata​/Releases endpoint. For that, you need data like the Package’s key (represented by the field ProcessKey) and Package’s version (represented by the field ProcessVersion). If you are creating the Process in a Classic Folder, it’s also necessary to specify data about Environment. Althoug…

Cheers

---

<div class="post-metadata">

**Author:** ![sneha\_arbole1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sneha_arbole1/32/269587_2.png) [@sneha\_arbole1](https://forum.uipath.com/u/sneha_arbole1)\
**Post date:** [December 19, 2022, 11:18am UTC](https://forum.uipath.com/t/create-process-using-api/500172/3 "2022-12-19T11:18:59Z")

</div>

Hi @Anil_G

Referred the thread that you shared but was confused about what should be specified in key?  
​/odata​/Releases({key})​

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [December 19, 2022, 11:26am UTC](https://forum.uipath.com/t/create-process-using-api/500172/4 "2022-12-19T11:26:40Z")

</div>

@sneha_arbole1

run a GET for this URL

`https://cloud.uipath.com/ORG_NAME/TENANT_NAME/orchestrator_/odata/Releases`

You will het all keys…of if you need a specific key then use filter conditions on it.

You have an example here

> [@To retrieve Release key of any process](https://forum.uipath.com/t/to-retrieve-release-key-of-any-process/141012/9):
>
> Check the /odata/Releases https://cloud.uipath.com/ORG\_NAME/TENANT\_NAME/orchestrator\_/swagger/index.html#/Releases/Releases\_Get [image] And from there get the Key. Example run a GET for this URL https://cloud.uipath.com/ORG\_NAME/TENANT\_NAME/orchestrator\_/odata/Releases?%24filter=ProcessKey%20eq%20'GetAsset'&%24select=Key%2CProcessKey%2CIsLatestVersion%2CName%2CReleaseVersions&%24count=true Results:

Cheers

---

<div class="post-metadata">

**Author:** ![sneha\_arbole1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sneha_arbole1/32/269587_2.png) [@sneha\_arbole1](https://forum.uipath.com/u/sneha_arbole1)\
**Post date:** [December 19, 2022, 11:38am UTC](https://forum.uipath.com/t/create-process-using-api/500172/5 "2022-12-19T11:38:59Z")

</div>

Tried with this this gives the key data only if the Process is there into Process tab. I am trying to create a process for the packages in orhestrator

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [December 19, 2022, 11:56am UTC](https://forum.uipath.com/t/create-process-using-api/500172/6 "2022-12-19T11:56:20Z")

</div>

@sneha_arbole1

for creating a process you would be running create release. In the context of API releases are the processes that you create

 ![image](https://global.discourse-cdn.com/uipath/original/4X/c/9/e/c9e5d16646796b8c186056620502fa278f1a62ba.png)

and for that you need the Process key and Process version which comes from the below api .In this process refers to packages

 ![image](https://global.discourse-cdn.com/uipath/original/4X/4/3/6/436a4277c5583d0d000b302a192a37a0b6e5f012.png)

Hope this is clear

Cheers

---

<div class="post-metadata">

**Author:** ![sneha\_arbole1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sneha_arbole1/32/269587_2.png) [@sneha\_arbole1](https://forum.uipath.com/u/sneha_arbole1)\
**Post date:** [December 19, 2022, 3:01pm UTC](https://forum.uipath.com/t/create-process-using-api/500172/7 "2022-12-19T15:01:00Z")

</div>

Tried but getting error as Bad Request

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [December 19, 2022, 3:08pm UTC](https://forum.uipath.com/t/create-process-using-api/500172/8 "2022-12-19T15:08:10Z")

</div>

@sneha_arbole1

Then the request that you are giving is wrong…try creating the request first in swagger and use the same

Cheers

---

<div class="post-metadata">

**Author:** ![sneha\_arbole1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sneha_arbole1/32/269587_2.png) [@sneha\_arbole1](https://forum.uipath.com/u/sneha_arbole1)\
**Post date:** [December 20, 2022, 10:23am UTC](https://forum.uipath.com/t/create-process-using-api/500172/9 "2022-12-20T10:23:07Z")

</div>

i tried but still getting same error.  
i am passing processkey, processversion in body

 ![image](https://global.discourse-cdn.com/uipath/original/4X/a/4/5/a4561504098e529c319cf496baea47d971e4b110.png)

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [December 20, 2022, 10:31am UTC](https://forum.uipath.com/t/create-process-using-api/500172/10 "2022-12-20T10:31:13Z")

</div>

@sneha_arbole1

Processkey looks like a number with hyphens and all not the name…

Cheers

---

<div class="post-metadata">

**Author:** ![sneha\_arbole1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sneha_arbole1/32/269587_2.png) [@sneha\_arbole1](https://forum.uipath.com/u/sneha_arbole1)\
**Post date:** [December 20, 2022, 10:35am UTC](https://forum.uipath.com/t/create-process-using-api/500172/11 "2022-12-20T10:35:03Z")

</div>

we get process key if that process is there in orchestrator process.

---

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [December 20, 2022, 10:36am UTC](https://forum.uipath.com/t/create-process-using-api/500172/12 "2022-12-20T10:36:33Z")

</div>

@sneha_arbole1

In the context of api process means package…can you please check the precious screenshot i sent…

Get processes gets the packages

Get releases gets the process detaisl

So do a get on getprocesses which will give you the processkey(ideally related to package not process)

Cheers

---

<div class="post-metadata">

**Author:** ![sneha\_arbole1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sneha_arbole1/32/269587_2.png) [@sneha\_arbole1](https://forum.uipath.com/u/sneha_arbole1)\
**Post date:** [December 20, 2022, 10:43am UTC](https://forum.uipath.com/t/create-process-using-api/500172/13 "2022-12-20T10:43:00Z")

</div>

when i do get processes i get the below data

 ![image](https://global.discourse-cdn.com/uipath/original/4X/f/7/8/f786355f7f4575afb7c238bf099a298a770c7d45.png)

---

<div class="post-metadata">

**Author:** ![Kaviyarasu\_N](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/kaviyarasu_n/32/244106_2.png) [@Kaviyarasu\_N](https://forum.uipath.com/u/Kaviyarasu_N)\
**Post date:** [December 20, 2022, 11:59am UTC](https://forum.uipath.com/t/create-process-using-api/500172/14 "2022-12-20T11:59:45Z")

</div>

Hi @sneha_arbole1

To create processes in UiPath Orchestrator using the API, you will need to use the `/odata/Processes` endpoint and make a `POST` request to this endpoint with the appropriate payload.  
The payload should include the information for the process you want to create, such as the name, version, and description.

---

<div class="post-metadata">

**Author:** ![sneha\_arbole1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sneha_arbole1/32/269587_2.png) [@sneha\_arbole1](https://forum.uipath.com/u/sneha_arbole1)\
**Post date:** [December 20, 2022, 12:55pm UTC](https://forum.uipath.com/t/create-process-using-api/500172/15 "2022-12-20T12:55:45Z")

</div>

Hi @Kaviyarasu_N

Can you please share the Screenshot if possible of payload format as it is still not working for me. i am getting 404 error
