Where does this value within an API trigger endpoint originate?

Hi, everyone.

I’m looking at the definition of a cURL to trigger a process via API. This is the example UiPath gives here:

  • curl ‘{baseURL_orchestrator}/t/6ea73196-ca89-446c-81e1-5279bdd36dc2/{process_name}’ -X ‘POST’ -H ‘Content-Type: application/json’ -H ‘Authorization: Bearer INSERT_YOUR_TOKEN

My question is, what is the meaning of the alphanumeric ID “6ea73196-ca89-446c-81e1-5279bdd36dc2”? Is it a tenant ID? Is there a way to retrieve that via one of the other APIs?

I ask because that value is the same for all of our API triggers, so if you can obtain it, then you can construct endpoints for all API process triggers and trigger whichever process you choose.

hi @Joe_Matuch
The GUID is the Folder-Key of the Folder your api-trigger is in, it can only be the same for you if all your api-triggers are located in the same folder.
We used it instead of the name as string to be rename resilient.
You can obtain it also as a field in the FolderDTO in the OR API.
Kind regards, Alex.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.