automation-hub
2024.10
true
UiPath logo, featuring letters U and I in white
Automation Hub API Guide
Automation CloudAutomation Cloud Public SectorAutomation Suite
Last updated Nov 11, 2024

Authentication to the Automation Hub API

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/ce91aa04-fc61-49e9-bec5-cb237efb4bda
x-ah-openapi-auth: openapi-tokenGET https://cloud.uipath.com/{orgName}/{tenantName}/automationhub_/api/v1/openapi/authinfo
Content-Type: application/json
Authorization: Bearer 46b6c342-3ab4-11e9-9c19-37a2344a67e8/ce91aa04-fc61-49e9-bec5-cb237efb4bda
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/ce91aa04-fc61-49e9-bec5-cb237efb4bda is composed of:
  • Tenant ID: 46b6c342-3ab4-11e9-9c19-37a2344a67e8
  • Concatenating Character: /
  • Token: ce91aa04-fc61-49e9-bec5-cb237efb4bda
Similar headers would be used in a request to any other Automation Hub API endpoint.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.