UiPath Documentation
integration-service
latest
false
Guide de l'utilisateur d'Integration Service
Important :
Ce contenu a été traduit à l'aide d'une traduction automatique. Les packages de connecteurs disponibles dans Integration Service sont traduits à l'aide d'un moteur de traduction. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

Accès à l’API

Call the Integration Service API from an external application, using OAuth 2.0 authorization and Integration Service scopes.

Vue d'ensemble (Overview)

The Integration Service API lets you work with Integration Service resources from an external application of your choice. You authorize the application through the OAuth 2.0 framework, so a service or script can authenticate on its own instead of relying on a signed-in user session, and without sharing any credentials.

Use it to call Integration Service from a CI/CD pipeline that publishes or deploys a solution referencing a custom connector, or from a coded app or agent that needs to create or manage its own Integration Service connections without a signed-in user.

Access is confined to the scopes you grant. An external application, or a user acting through one, cannot exceed those permissions. Existing API access using user tokens is unchanged.

Autorisations d'API

To call the Integration Service API, you must grant API permissions to the external application. These permissions are known as scopes. Add them in Automation Cloud under Admin > External Applications, by adding Integration Service as a resource.

PortéeGrantsAvailable as
IS.Connections.ReadRead access to connections.User scope
IS.Connectors.ReadRead access to connectors, including downloading a custom connector.User scope, application scope
IS.Connector.ExportNot used. No endpoint requires this scope.S/O
Important :

IS.Connections.Read is a user scope only. An external application that authenticates on its own, without a signed-in user, cannot be granted it.

Non-confidential applications can be granted user scopes only. For the difference between the application types and between user and application scopes, see Authorizing external applications.

Autoriser les appels d'API

Authorize your external application by creating an access token for it. Use the App ID and App Secret generated when you registered the application. The authorization method depends on the application's type, confidential or non-confidential.

En savoir plus sur les méthodes d'autorisation pour les applications externes.

Send the token as a bearer token on your requests. A token is valid for one hour. To keep calling the API after that, generate a new access token or request a refresh token.

Folder scope

An external application must target a single folder on every request, using the X-UIPATH-FolderKey header, and it needs the Connections.View permission in that folder. Requests that omit the header, and requests that ask for all folders, are rejected.

A connection that exists in a different folder from the one you targeted is reported as not found, rather than as forbidden.

Available endpoints

The API guide currently documents these endpoints:

Responses to an external application omit the connection owner, the element instance ID, the polling interval, and the bring-your-own-app flag. A connection's configuration is returned only to callers holding the configuration read scope, and secret values such as API keys and OAuth tokens are never returned.

For details on each endpoint, see the Integration Service API guide.

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour