Skip to Content

Build a simple custom API in Jitterbit API Manager

Introduction

This page is intended for new users of API Manager and demonstrates how to create and publish a custom API using a Integration Studio operation.

For a comprehensive guide and step-by-step walkthrough, enroll in the API creation and management course on Jitterbit University.

For information on the configuration of a specific type of API, see these resources:

Prerequisites

Before creating a custom API, you must be a member of a Harmony organization with a subscription to API Manager, and you must have the appropriate organization permissions and environment access levels as described in Harmony permissions and access.

Build an API with API Manager

Follow these steps to build a custom API with API Manager:

Step 1: Create and deploy the operation

As described in the Custom API prerequisites, a Integration Studio or Design Studio operation must first be created and deployed in the same environment you'd like to create a custom API.

In this Integration Studio example, the deployed operation queries a database and processes the data into a CSV output:

operation

For instructions on creating and deploying an operation in Integration Studio or Design Studio, see these resources:

Step 2: Configure the API

Once the Integration Studio or Design Studio operation has been deployed, navigate to the my APIs page in API Manager and click New API:

attachment

On clicking New API, the API Settings configuration screen opens. Populate each field with these settings:

publish new API step 1 settings

Once the above fields have been populated, click Next.

Note

For information on each field in this configuration screen, see Step 1: Settings on Custom API configuration.

Since a custom API is being created, Custom API has been selected as the Service Type. The Integration Studio operation from Step 1: Create and deploy the operation is assigned to the GET API service:

publish new API step 2 assign operations

Once the above fields have been populated and the operation has been assigned, click Save and then click Next.

Note

The operation used for the purpose of this guide has an API Response activity configured as the target of the operation (see Step 1: Create and deploy the operation). As a result, the Response Type is set to Final Target.

For more information on the Projects, Operation, Method, and Response Type fields, see Step 2: Select service type and assign operations on Custom API configuration.

On the next screen, user roles and an appropriate security profile(s) are assigned to the custom API:

publish new API step 3 user roles security profiles

The roles to choose from are those defined on the Roles tab of the User Management page.

For more information on assigning user roles, see Step 3: Assign user roles and security profiles on Custom API configuration.

For more information on security profiles, see these resources:

On clicking Next, you will arrive at the Summary and Confirmation page:

publish new API step 4 summary

On clicking Save and Publish, a dialog indicates the API is live:

all set your API is live

Click Copy URL. The copied URL will be used in Step 3: Test the API.

Step 3: Test the API

To test the API, paste the API URL from Step 2: Configure the API into a web browser:

API URL browser

Once authenticated, the Integration Studio operation from Step 1: Create and deploy the operation is triggered and responds with a CSV output of Example Company's customer list:

CSV output

Next steps

Once the API is live, you can manage the API by generating API documentation on the Portal Manager page, viewing the logs on the API Logs page, or reviewing the consumption and performance metrics for the API on the Analytics page.

For additional information on API Manager, see these resources: