How do I set up Canvas Data 2 with an API client (Postman)?

After generating a Canvas Data 2 (CD2) ClientID and secret, you can set up Canvas Data 2 via the API Gateway.

This article references the API client, Postman, however, you can use any API client of your choice.

Use Canvas Data 2 API Resources

Notes:

  • The Postman reference solutions are examples and were created to demonstrate and make it easier to quick start and try out the API flow. We are not committing to maintain it for this community. You can use any API client of your choice.
  • If you are using Postman client then it is good to know that if you download the OpenAPI spec, it can be directly imported into Postman (and most probably other API clients have similar features).

Generate Client ID and Secret

Generate API Key and Secret

Before using Postman, you need to generate a Client ID and Secret for Canvas Data 2.

Import Collection File

Import Collection File

In Postman, click the Collections link [1] and then click the Import button [2].

Download and import the Postman Collection file.

Upload Collection File

Upload Files

Click the Upload Files button.

Open Collection File

Locate the collection file and click the Open button.

Import Postman Collection File

Import File

Click the Import button.

View Collection

View the collection file.

View Collection

Import Environment File

Overview - My Workspace

In Postman, click the Environments link [1] and then click the Import button [2].

Download and import the Postman Environment file.

Upload Files

Upload Files

Click the Upload Files button.

Open

Locate the collection file and click the Open button.

Import Postman Environment File

Import

Click the Import button.

View Environment

View the environment.

In the CLIENT_ID field [1] and CLIENT_SECRET field [2], add the Client ID and Secret generated in Identity Services.

To save the collection, click the Save icon [3].

View Additional Resources