Workflow Automation API for automation tasks

The Nutrient Workflow Automation API has a large collection of functions that allow you to manage processes, requests, tasks, reports, and users within a Workflow Automation instance. There are also many new functions in the new API, including extended functions for the management of file attachments.

Generating an API key

Choose the API Keys icon in the Settings menu (the gear icon in the upper-right corner).

To create a new key, add an expiration date and a description, both of which are optional, and then click Create API Key. A new value will appear in the Private Key field. Press Copy on the far right to store the key securely and safely.

If you don’t copy this value, it won’t be displayed again anywhere in the system, and you’ll need to generate a replacement key.

Legacy API information can be found at https://developer.integrify.com/rest/docs. New functions have been added to this version, all of which are documented within the application itself. Refer to the screenshot below for the link to the API documentation.

generate an API key

Using the Workflow Automation API

This section will walk you through how to use the Nutrient Workflow Automation API step by step, including how to:

  1. Identify your host and tenant name

  2. Access the API documentation

  3. Authenticate and get your access token

Identify the host and tenant

The host header value can be found on the main screen under Settings > System Settings in the upper right-hand corner of the screen.

On the System Settings page, copy and save the following items:

  • ID — yourtenant

  • HostHeader — baseurl.integrify.com

Access the API documentation

API documentation is now hosted under the System / APIs section and has sections as shown in the screenshot below. To access a particular topic, click the box with the arrow pointing up and to the right.

The section you access will look something like what’s shown below.

swagger api

Each colored button represents a method you can access in the Workflow Automation API. In this example, the area is specific to authentication. You can expand each function by clicking on each function’s listing.

Click Try it out to test the function directly on the page. You may need to provide one or more parameter values to help the function complete successfully. When the function completes, you’ll receive a success or failure message and any appropriate return values.

Authenticate the system

To complete most tasks within the Workflow Automation API, you’ll need to pass a JSON Web Token (JWT) token value in the header of the method call you’re using.

IntegrifyEnv (“Env”) tokens are used by system functions only and cannot be used by external systems to authenticate to Workflow Automation.

You can retrieve a JWT token using an API key that you created in the system settings area.

jwt token

Using the JWT token

The JWT token you retrieve should be placed in the header of each method call you make. The way to use this token is as a bearer authentication token, where the token is passed as proof of privileges to the Workflow Automation system.