What is X-UIPATH-OrganizationUnitId

Hello Creator’s ,

Q1. What is X-UIPATH-OrganizationUnitId and where can I get this details.

Content-Type : application/json
X-UIPATH-TenantName : {{tenantName}}

X-UIPATH-OrganizationUnitId : {{folderId}}

Q2. I have used got two keys one is access_token & id_token while requesting -https://account.uipath.com/oauth/token

if I use access token for Post Queues - Create

Where should I use the access token?

Please help me with creating queues via API.

Srenivasan Kannan

1 Like

Please check this thread for better understanding on the issue @SrenivasanKanna


It’s long time I know but I just found out that the API which is sending you back list of yours folders have column ID in return - you can find all IDs there :wink:

Here is endpoint:
change for your parts of link
type GET
X-UIPATH-TenantName - tenant name
Authorization - Bearer + your access token

Have fun :slight_smile:

is this forum read by real human or just bots ?

i’m getting this error code {“message”:“An organization unit is required for this action.”,“errorCode”:1101,“resourceIds”:null}

while tyrying to start a job using rest API on community platform “odata/Jobs/UiPath.Server.Configuration.OData.StartJobs” and i can’t understand this error code

of course don’t expect any help from swagger doc which is buggy / nor on outdated docsite

where could i get help ?

hey, can post your body and headers? - response, and code? - this which is return by API here is my example:
Authenticator_cloud.xaml (11.0 KB) Authenticator_on_permis.xaml (14.5 KB) MyFolders.xaml (24.5 KB) WhoAmI.xaml (13.0 KB)

Thanks for your response Mikolaj,

i’m new to UIPath and don’t know what to do with thoses .xaml files

i finaly could intercept and api call and fond the required information. it seems the swagger doc is a bit false or un clear

Yes, swagger is bit problematic - open them in UiPath studio all config you can get from Http request activity settings.