UiPath Documentation
integration-service
latest
false
Integration Service API guide
  • 入门指南
    • 基本 URL
  • Connections API
    • Get connections
    • Get connection by ID
  • Connectors API
重要 :
请注意,此内容已使用机器翻译进行了本地化。 Integration Service 中提供的连接器包采用的是机器翻译的译文。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

Get connection by ID

API reference for retrieving a single Integration Service connection by ID, with the endpoint URL, path parameters, and example response.

Retrieves a single connection by ID.

API 端点

GET BaseURL/v1/Connections/{connectionId}

  • Use the Connections API Base URL for the cloud platform you are on.

请求标头

页眉
授权承载 <your-access-token>
X-UIPATH-AccountId<tenant>
X-UIPATH-文件夹密钥The key of the folder holding the connections

将尖括号 <...> 之间的所有值替换为其相应的用例值。

The token is the one you received when you authorized the external application. It is available for 1 hour, then you need to generate a new one, or request a refresh token. See API access for how to register an external application and obtain this token.

重要提示:

External applications must target a single folder, identified by the X-UIPATH-FolderKey header. A request that omits the header returns 400 Bad Request.

路径变量

路径变量数据类型描述默认值
connectionId (required)stringThe ID of the connection you want to retrieve.不适用

查询参数

查询参数数据类型描述默认值
includeConfigsbooleanReturns the connection's configuration. Available only to callers holding the configuration read scope. Secret values, such as API keys and OAuth tokens, are never returned.false

响应

200 OK

{
  "Id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "Name": "My Salesforce connection",
  "Connector": {
    "Key": "uipath-salesforce-sfdc",
    "Name": "Salesforce"
  },
  "Folder": {
    "Key": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  },
  "State": "Connected",
  "IsDefault": true,
  "CreateTime": "2026-09-10T10:20:24.485Z",
  "UpdateTime": "2026-09-10T10:20:24.485Z"
}
{
  "Id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "Name": "My Salesforce connection",
  "Connector": {
    "Key": "uipath-salesforce-sfdc",
    "Name": "Salesforce"
  },
  "Folder": {
    "Key": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  },
  "State": "Connected",
  "IsDefault": true,
  "CreateTime": "2026-09-10T10:20:24.485Z",
  "UpdateTime": "2026-09-10T10:20:24.485Z"
}

400 Bad Request

The request did not supply the X-UIPATH-FolderKey header.

401 未经授权

The access token is missing, expired, or invalid.

403 Forbidden

The external application does not hold the required scope, or it has no Connections.View permission in the requested folder.

404 未找到

The connection does not exist, or it is in a folder other than the one the request targeted. A connection outside the requested folder returns 404, not 403.

  • API 端点
  • 请求标头
  • 路径变量
  • 查询参数
  • 响应
  • 200 OK
  • 400 Bad Request
  • 401 未经授权
  • 403 Forbidden
  • 404 未找到

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新