Orchestrator API - User key

Hi there,

Is there a way to make the user key static (found in the API access section of cloud.uipath.com)?
Every time I check my API Access settings I see the user key changed (which makes my API calls return code 400).

Could someone please help me with this?

Many thanks!


Well it shouldn’t be the case, these API key’s generally do not change but … are you using enterprise trial or community edition ?

Community edition


Is it done from here ?

No from Admin --> Services. You can access API settings for each service from there.


What purpose are you using User Key ?

To be able to make API calls (e.g. launch a job)

You have to do it with a bearer token not with User Key.

I have a bearer token, you also need a user key.

Indeed , we need user key and client ID as well for this.

End point URL :- https://account.uipath.com/oauth/token
Header : - ‘Content-Type: application/json’

data as :

    "grant_type": "refresh_token",
    "client_id": "{{clientId}}",
    "refresh_token": "{{userKey}}"

This will give you bearer token, Next step is to get Release Key

End Point URL : - {{url}}/odata/Releases?$filter=ProcessKey eq 'ProcessName'

Yeah, I know, I need Client ID, User Key, Tenant Logical Name, and Account Logical Name for the next steps, but the issue is that the User Key is not a static value (it changes on short intervals) on this orchestrator instance for some reason. I have tested it on another orchestrator where the user key is doesn’t change and API calls work like a charm…

There must be a way to make sure the user key doesn’t change, but I am unable to find it.


Please have a look : - https://docs.uipath.com/orchestrator/v2019/reference/consuming-cloud-api



It worked well for me

It works for me aswell, on an orchestrator with a static user key.
Not when the user key is dynamic. That is the issue i’m facing.
Thank you for your help so far!


It might be some other issue because user key is dynamic.
I have dynamic user key and it all works well.
Look at this documentation snip from UiPath Orchestrator.

Ref:- https://docs.uipath.com/orchestrator/v2019/reference/consuming-cloud-api


Please have look at the below video.

Orchestrator API - Authenticate