API Token Authentication

The connector can authenticate with the source using an API token. The API token you provide is saved to the accesstoken attribute in the application configuration. API tokens are given in the following format:

token_type API_token

For example:

Bearer ********

Note
If the token type is not provided, then the connector automatically uses Bearer.

API Token Placeholders

You can reference a saved API token using a placeholder. The token placeholder can be provided as a variable across all endpoints for request components such as:

  • Request URL

  • HTTP Headers

  • Request Body

The following is an example of an API token placeholder:

$application.accesstoken$

You can define and use multiple API token placeholders if your configuration requires it. For more information on API Token placeholders, refer to Custom Authentication.

To configure the connector to use an API token for authentication:

  1. From the Authentication Type drop-down list, select API Token.

  2. In the Base URL field, enter the base URL to connect to the target managed system.

    For example:

    https://api.testurl.com

  3. In the API Token field, enter an API token specific to the managed system.

  4. Select Save.