UiPath Documentation
automation-hub
2.2510
true
Automation Hub API guide

Authentication to the Automation Hub API

Automation Hub API authentication model for Automation Suite 2.2510, using a static Bearer token passed in the request header.

Automation Hub API authentication uses a simple static Bearer token in the header of each request. For information on how to create or find a Token, see Generate your Token from Automation Hub.

Example request (to the Auth Info endpoint):

GET https://cloud.uipath.com/{orgName}/{tenantName}/automationhub_/api/v1/openapi/authinfo
Content-Type: application/json
Authorization: Bearer 46b6c342-3ab4-11e9-9c19-37a2344a67e8/<your-access-token>
x-ah-openapi-auth: openapi-token
GET https://cloud.uipath.com/{orgName}/{tenantName}/automationhub_/api/v1/openapi/authinfo
Content-Type: application/json
Authorization: Bearer 46b6c342-3ab4-11e9-9c19-37a2344a67e8/<your-access-token>
x-ah-openapi-auth: openapi-token

The x-ah-openapi-auth value of openapi-token is static. The Authorization Bearer token is created by concatenating Tenant ID, the character /, and a Token.

E.g. 46b6c342-3ab4-11e9-9c19-37a2344a67e8/ is composed of:

  • Tenant ID: 46b6c342-3ab4-11e9-9c19-37a2344a67e8
  • Concatenating Character: /
  • Token: <your-access-token>

Similar headers would be used in a request to any other Automation Hub API endpoint.

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated