- Démarrage
- Connections API
- Get connections
- Get connection by ID
- Connectors API
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.
Point de terminaison de l’API
GET BaseURL/v1/Connections/{connectionId}
- Use the Connections API Base URL for the cloud platform you are on.
En-têtes de requête.
| En-tête | Valeur (Value) |
|---|---|
| Autorisation | Porteur <your-access-token> |
| X-UIPATH-AccountId | <tenant> |
| X-UIPATH-CléDossier | The key of the folder holding the connections |
Remplacez toutes les valeurs entre les chevrons <...> par leurs valeurs de cas d’utilisation correspondantes.
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.
Variables de chemin d'accès
| Variable de chemin d’accès | Type de données | Description | Valeur par défaut |
|---|---|---|---|
| connectionId (required) | string | The ID of the connection you want to retrieve. | NA |
Paramètres de requête
| Paramètre de requête | Type de données | Description | Valeur par défaut |
|---|---|---|---|
| includeConfigs | boolean | Returns 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 |
Réponses
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 Requête incorrecte
The request did not supply the X-UIPATH-FolderKey header.
401 Non autorisé
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.
Erreur 404 - Page introuvable
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.