Making calls to Orchestrator Api community version

Hi Experts,

I am very new to Uipath. I am using the Uipath community version and want to run a process on a robot by using the orchestrator api call.
Can some one please provide detailed steps how to go about it.



First call the authenticate Api which provide Access Token as output.

Use this accesstoken in headers when calling the Job Api

Navigate to this link to know more about it under the section EXAMPLES USING THE ORCHESTRATOR API

HI Sreelatha,

Thanks for your response, i tried testing the authenticate api this using postman. However i am getting the message invalid credentials, failed to login error.
Below is what i used:
Content-Type: application/json
“tenancyName” : “My tenancy name”,
“usernameOrEmailAddress” : “My email id”,
“password” : “password”

“message”: “Invalid credentials, failed to login.”,
“errorCode”: 1000,
“resourceIds”: null

Based on some of the other posts my understanding is this was changed for cloud based orchestrator some time in June/july this year. I am using the community version. Not sure how to proceed.

You don’t need to use that as you already have the access token available from the previous requests @SiddharthSSA. Try that token and let me know if you still have issues

@HareeshMR : I am sorry but i do not have the access token. My understanding was we need to use the authenticate api to get the token and use that(Bearer + token) with subsequent api calls. I am at the very first step, trying to get the access token.

Check this post @SiddharthSSA

Thanks for sharing this. I followed the steps in the post till the authenticate step below:
Now as we have to authenticate with the URL in the previous versions of API, we need to send the final request for the URL

 URL :
 Authorization code : ID token we got above
Header : Content-Type: application/json
Body : {
            "tenancyName" : "Documentation",
            "usernameOrEmailAddress" : "Documentation",
            "password" : "DocumentationAPItest"

which will give us the access token which we can use for all the remaining requests like start job etc.,

My question where do we pass the Authorization code mentioned above, i am using Postman.

We have authorization left to the headers section in postman right? You can pass it there and as you already have the token you don’t need to send this request as per the discussion below in the above thread I attached

So i skipped the authenticate part and i tried some calling one of the api to Retrieve the Environments a Package
Type: GET$filter=ProcessKey eq ‘add_queue_items’&$select=EnvironmentNam
used Bearer Token

But getting the error:message": “You are not authenticated!”,
“details”: "You should be authenticated (sign in) in order to perform this operation

Hello Siddharth,
In this video you see how to start a robot from Postman:

Cristian Negulescu