Skip to content
English
  • There are no suggestions because the search field is empty.

Data Integration Guide - Cofense Triage

Generating an API Access Token

All resource requests made to the Cofense Triage API Version 2, unless otherwise stated in the online API documentation, require a bearer access token.

Token generation involves two steps:

  1. A superuser creates an API application in Triage and obtains a client ID and client secret for the application.
  2. API users exchange the client ID and client secret for their bearer access token. API users then supply the bearer access token in the Authorization header of each request.
This section describes the first step: a superuser creates the API application and obtains the client ID and secret.

IMPORTANT: For greater security, do not share or use client IDs, client secrets, and access tokens across multiple operators or scripts.

ℹ️ Cofense Triage will require an IP Address to be whitelisted for Unify to establish a connection.

For NA customers, please use 54.243.223.88/32.
For EU customers, please use 34.247.15.192/32.

Creating the API Application

When you create an API application in Cofense Triage, the application uses an OAuth grant type of Client Credentials.

With this grant type, the application's scope, or permission level, is separate from an individual operator's permissions in Triage. These attributes make this grant type ideal for automated scripts, the most common use of the Cofense Triage API.

To create an API application:

  1. Open Administration > API Management > Version 2 > Applications.
  2. On the Applications page, click New Application.
  3. Complete the following fields:
  • Name
  • Type a name for the application. For example: Categorize Reports
  • Triage Role should be Read Only

4.   Click Submit. Triage will generate the client ID and client secret for this application.

5.   Click Copy Details to copy the client ID and client secret to the clipboard.

6.   Click Close.

The client credentials are ready to exchange for a bearer access token for use in the Authorization header of an API request. For details, see Using the Cofense Triage API Version 2.

TIP: You can view details for the application you just created, including the client ID and the Cofense Triage and Cofense Vision permission levels applied to the application. To do so, click the application on the Applications page.