# How to add QueueItem using Cloud Orchestrator API

**URL:** <https://forum.uipath.com/t/how-to-add-queueitem-using-cloud-orchestrator-api/243590>\
**Category:** Tutorials\
**Tags:** orchestrator\
**Created:** [August 6, 2020, 3:15pm UTC](https://forum.uipath.com/t/how-to-add-queueitem-using-cloud-orchestrator-api/243590 "2020-08-06T15:15:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tuhin\_Samanta](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/tuhin_samanta/32/43330_2.png) [@Tuhin\_Samanta](https://forum.uipath.com/u/Tuhin_Samanta)\
**Post date:** [August 6, 2020, 3:15pm UTC](https://forum.uipath.com/t/how-to-add-queueitem-using-cloud-orchestrator-api/243590/1 "2020-08-06T15:15:36Z")

</div>

To understand how to authenticate to Cloud Orchestrator, check out this post: [How to Authenticate to UiPath Cloud Orchestrator using API?](https://forum.uipath.com/t/how-to-authenticate-to-uipath-cloud-orchestrator-using-api/180188)

Follow the steps below to perform AddQueueItem using Cloud Orchestrator API  
**Endpoint:**  
[https://cloud.uipath.com/](https://cloud.uipath.com/)[Account Logical Name]/[Tenant Logical Name]/odata/Queues/UiPathODataSvc.AddQueueItem

 ![image](https://global.discourse-cdn.com/uipath/original/3X/8/9/89a246570edb8ef47c8af26f5469f81f2c77bfd4.png)

**Method:** POST

**Header:  
You need to pass the access token generated in successful authentication in authorization section as : Bearer {access-token}**

 ![image](https://global.discourse-cdn.com/uipath/original/3X/1/9/194b8c61e71264347604f9756e4daacd06304368.png)

**Body:**

{  
“itemData”: {  
“Name”: “TestQueue”,  
“Priority”: “Normal”,  
“SpecificContent”: {  
“Type”: “Customer”,  
“Name@odata.type”: “#String”,  
“Name”: “Some Guy”  
}  
}  
}

**Status Code for successful creation:** 201

**Response:**  
{  
“@odata.context”: “[https://cloud.uipath.com/tuhinssam/tuhinssam/orchestrator\_/odata/$metadata#QueueItems/$entity](https://cloud.uipath.com/tuhinssam/tuhinssam/orchestrator_/odata/%24metadata#QueueItems/%24entity)”,  
“QueueDefinitionId”: 124281,  
“OutputData”: null,  
“AnalyticsData”: null,  
“Status”: “New”,  
“ReviewStatus”: “None”,  
“ReviewerUserId”: null,  
“Key”: “6af8090f-7ad0-4c23-b3aa-44f643010c0a”,  
“Reference”: null,  
“ProcessingExceptionType”: null,  
“DueDate”: null,  
“RiskSlaDate”: null,  
“Priority”: “Normal”,  
“DeferDate”: null,  
“StartProcessing”: null,  
“EndProcessing”: null,  
“SecondsInPreviousAttempts”: 0,  
“AncestorId”: null,  
“RetryNumber”: 0,  
“SpecificData”: “{"DynamicProperties":{"Type":"Customer","Name":"Some Guy"}}”,  
“CreationTime”: “2020-08-06T12:15:14.9538804Z”,  
“Progress”: null,  
“RowVersion”: “AAAAAAX24VI=”,  
“OrganizationUnitId”: 69133,  
“OrganizationUnitFullyQualifiedName”: null,  
“Id”: 41647784,  
“ProcessingException”: null,  
“SpecificContent”: {  
“Type”: “Customer”,  
“Name”: “Some Guy”  
},  
“Output”: null,  
“Analytics”: null  
}

**To get Organization Unit ID:**  
**Endpoint:**  
[https://cloud.uipath.com/](https://cloud.uipath.com/)[Account Logical Name]/[Tenant Logical Name]/orchestrator\_/api/FoldersNavigation/GetFoldersForCurrentUser

**Method: GET**

**Header:**

 ![image](https://global.discourse-cdn.com/uipath/original/3X/6/5/65919a84fb14c765b98721d2cd018037fd129c09.png)

**Response Format:**  
{  
“PageItems”: [  
{  
“IsSelectable”: false,  
“HasChildren”: false,  
“Level”: 0,  
“Key”: “f81bd046-bfc3-440e-8b2f-393b637bacf6”,  
“DisplayName”: “Default”,  
“FullyQualifiedName”: “Default”,  
“Description”: null,  
“IsPersonal”: false,  
“ProvisionType”: “Manual”,  
“PermissionModel”: “InheritFromTenant”,  
“ParentId”: null,  
“ParentKey”: null,  
“Id”: 69133  
},  
{  
“IsSelectable”: false,  
“HasChildren”: false,  
“Level”: 0,  
“Key”: “1728b722-2b8b-4e2b-bd2d-4163b2c5706f”,  
“DisplayName”: “test”,  
“FullyQualifiedName”: “test”,  
“Description”: null,  
“IsPersonal”: false,  
“ProvisionType”: “Manual”,  
“PermissionModel”: “InheritFromTenant”,  
“ParentId”: null,  
“ParentKey”: null,  
“Id”: 227730  
}  
],  
“Count”: 2  
}

---

<div class="post-metadata">

**Author:** ![Priyanka\_Bhalere](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/priyanka_bhalere/32/173438_2.png) [@Priyanka\_Bhalere](https://forum.uipath.com/u/Priyanka_Bhalere)\
**Post date:** [November 2, 2020, 6:40am UTC](https://forum.uipath.com/t/how-to-add-queueitem-using-cloud-orchestrator-api/243590/2 "2020-11-02T06:40:46Z")

</div>

[Tuhin\_Samanta](https://forum.uipath.com/u/Tuhin_Samanta) Wonderful documentation.

You can find a video for the same, Check out the link : [How to add Queue Item to specific queue](https://youtu.be/tlG_3iNQ3hk)

Please feel free to share feedback.  
Thanks,  
Priyanka
