Hi all, I have been struggling for the past few hours on trying to understand how to:
I want to use UiPath Cloud Orchestrator APIs so I can interact with Orchestrator programmatically using python for example, but im unable to find any good information
1.How do I get authentication token via python script so I can use it for my requests
3. How to build this request in pythons script
I have even tried using postman, i cant get it to work either.
I am unable to find such information, even though I have looked at similar questions people have asked this I’m still unable to find answers.
Hi @Anil_G Thanks for the information, unfortunately that info seems 3 + years old, Our Cloud instance does not have this option:
How to get API Access information from automation cloud?
Log in to your Automation Cloud account.
Navigate to Admin > Tenants. The Tenants page lists all existing tenants.
Click the arrow on the left of the desired tenant to display its available services.
Click API Access () for the Orchestrator service. The API Access window opens and includes the following service-specific information:
We only have External Application option, also * Registering an external application to use the OAuth flow (information and instructions). this link lead to no where and it seems the documentation does not exist
Next: * Under body (raw) {“grant_type": “refresh_token”, “client_id”: “{client_ID}”, “refresh_token”: “{user_key}”}
What exactly is the “{user_key}” and where do I find this information In UiPath Cloud Modern interface? Which is what we are using
And lastly, what Authorization should I use in Postmant to try to get the access token?
The first part is the one for OAuth and not with API Key
For creating external application navigate to admin-> External Application
There select confidential and application scope…you will get the required app ID and app Secret .Scope i the one depends on what you define in the application scope menu…can copy paste
Thank you @Anil_G for all the information, I think il have to create a support case with UiPath cos after all that and checking and testing and making sure everything is correctly set, I still get the same error