Http error

Hi. I was just wondering if there‚Äôs a different way (or a different API to call) for me to authenticate my start job without going through the whole process of: Getting Token to Use in Your API Calls Generating Code Challenge and Code Verifier Getting Authorization Code Getting Refresh Token This whole process is quite tiring to do everyday, I‚Äôve thought of making an automation in the 2nd step (Getting Authorization Code - Orchestrator Login), but before I do that of course I need to authenticate that certain robot. Remember that before we had this new set of Cloud APIs we used to authenticate using this API: https://platform.uipath.com/api/account/authenticate and just provide the following Request Body: { ‚ÄútenancyName‚ÄĚ : ‚ÄúDocumentation‚ÄĚ, ‚ÄúusernameOrEmailAddress‚ÄĚ : ‚ÄúDocumentation‚ÄĚ, ‚Äúpassword‚ÄĚ : ‚ÄúDocumentationAPItest‚ÄĚ } I wanted to get a bearer token from this old API but every time I attempt to do so I get the following error:

Hi @Daoud

Actually, two things.

First of all, see this project with such automation already done :slight_smile:

Second, you do not need to generate all of it every time. The moment you have the refresh_token, you can keep using it to generate your access_token every 24 hours using this single request:
https://orchestrator.uipath.com/v2019/reference#section-generating-access-token-and-id-token-using-the-refresh-token