orchestrator
2022.4
false
- Getting Started
- Authentication
- Authentication methods
- External Applications (OAuth)
- ROPC (not recommended)
- Swagger Definition
- Orchestrator APIs
- Alerts Requests
- Assets Requests
- Calendars Requests
- Environments Requests
- Folders Requests
- Generic Tasks Requests
- Jobs Requests
- Libraries Requests
- License Requests
- Packages Requests
- Permissions Requests
- Processes Requests
- Queue Items Requests
- Robots Requests
- Roles Requests
- Schedules Requests
- Settings Requests
- Tasks Requests
- Task Catalogs Requests
- Task Forms Requests
- Tenants Requests
- Transactions Requests
- Users Requests
- Webhooks Requests
- Platform Management APIs
ROPC (not recommended)
Orchestrator API Guide
Last updated Jun 18, 2024
ROPC (not recommended)
Important:
Only host administrators should authenticate using the
/api/account/authenticate/
endpoint.
Business users should authenticate using external applications.
To retrieve the access token, make a POST request to the
/api/account/authenticate
endpoint with the following payload:
{
"TenancyName": "{account_tenant_name}",
"UsernameOrEmailAddress": "{account_username}",
"Password": "{account_password}"
}
{
"TenancyName": "{account_tenant_name}",
"UsernameOrEmailAddress": "{account_username}",
"Password": "{account_password}"
}
Where:
-
{account_tenant_name}
—is the name of the tenant in your Automation Suite account -
{account_username}
—is the username of your Automation Suite account -
{account_password}
—is the password used to log in to your Automation Suite account
Tip:
To find the TenancyName value of your Orchestrator instance, make a GET request to the
/odata/Users/UiPath.Server.Configuration.OData.GetCurrentUser
.
The response body returns the bearer token, used by your application to authorize further API calls. Therefore, in the Authorization
header of an API call, append
Bearer xxxx
and replace xxxx
with the {access_token}
value (for example, Authorization: Bearer eyJhbG ... LnVxjA
).
{
"result": "{access_token}",
"targetUrl": null,
"success": true,
"error": null,
"unAuthorizedRequest": false,
"__abp": true
}
{
"result": "{access_token}",
"targetUrl": null,
"success": true,
"error": null,
"unAuthorizedRequest": false,
"__abp": true
}
Important:
- By default, the access token is valid for 30 minutes. To generate a new one, make another call to the
api/account/authenticate
endpoint.