API credentials
Accessing features using the Nexthink APIs gives you the flexibility to create integrations from external third-party tools. Using APIs helps remove complexity, as IT teams do not have to access multiple consoles to carry out their work. API credentials provide authentication based on the OAuth client credentials, which you can manage using the Nexthink web interface.
Accessing API credentials
To set up an integration with a Nexthink API, you must first create a set of API credentials for your instance that the external application or service must use to access the API and send requests.
Nexthink public API relies on OAuth 2.0. It comprises a Client Secret and Client ID, which the system uses to generate an access token to call an application or service.
To set up new credentials for your application:
Log in to the Nexthink web interface.
Select Administration from the main menu.
Click on API credentials in the navigation panel from the Account Management section.

Creating API credentials
Click on the New OAuth client credentials button located in the top-right of the API credentials page.

Name: provide a meaningful name for the credential. Nexthink recommends using the name of the application you are configuring to call the API.
Description: enter a description to inform users what applications and services use the credentials and why.
Permissions: select the features you want to enable the permissions for. Some permissions are related to features that may not be available to you, for example, features in technical preview or those not included in your license.
Remote Actions API Select the checkbox to send API calls to trigger and query remote actions.
Enrichment API Select the checkbox to send API calls to operate the enrichment feature.
Campaigns API Select the checkbox to send API calls to trigger campaigns.
NQL API Select the checkbox to send API calls to extract data.
Workflows API Select the checkbox to send API calls to trigger and query workflows.
Click on Save and generate credentials to generate the credentials. A new modal appears with the OAuth client credentials.

For security reasons, the credentials appear only once. Copy and save them securely, as you cannot access them beyond this point.
Click on the Copy button for Client ID and Secret key, then paste the information into the secure vault authorized by your organization.
Last updated
Was this helpful?