How to run Uipath process using API?

Hi All,

I have been looking for a way to run a pra process using API but am facing alot of difficulty in authentication and other steps due to orchestrator updates, has someone tried it recently with V21+. please let me know.

thanks

1 Like

Hey @Osho_Tripathi1

Kindly let know what’s the exact issue & it’s clearly possible.

Thanks
#nK

@Osho_Tripathi1

Can you share where you are getting the issue while using API?

Thanks

Hey @Osho_Tripathi1

Also, a sample curl request for you to test under postman…

–header ‘Content-Type: application/x-www-form-urlencoded’
–data-urlencode ‘grant_type=client_credentials’
–data-urlencode ‘client_id=632b56a7-1145-4cec-8131-7f2ffb535a0b’
–data-urlencode ‘client_secret=3Ki6UgUNx2vz^B^(’
–data-urlencode ‘scope=OR.Folders OR.Folders.Read’

Thanks
#nK

Hi All, please refer to the screesnhot below

I am using postman and am trying to use credentials for a successful authentication which I got from here: - Authenticating

yet the response is not giving me an access code.

1 Like

Hey @Osho_Tripathi1

The authentication method which you are using is not related to Cloud but for on-prem

So kindly use the above mentioned way

Thanks
#nK

1 Like

do you have a link or some detialed documentation for the same approach, because after authentication I might also need help with getting robot detail, release key and robot execution?

and is this same approach feasible with normal api’s through postman?

1 Like

Hey @Osho_Tripathi1

You can access the swagger for full API docs,

{{OrchestratorURL}}/swagger

For Authentication please refer - Accessing UiPath resources using external applications

Thanks
#nK