Steps for authenticating and using Orchestrator cloud API

Hey @HareeshMR

I think this step is not needed:

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 : https://platform.uipath.com/api/account/authenticate
 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.,

Copy the result and use that result value in all the remaining requests :smiley:

By this point you already have all the codes after this step from the Orchestrator documentation:
https://docs.uipath.com/orchestrator/v2019/reference#section-getting-refresh-token

You don’t need to pass your credentials directly :scream:

2 Likes