REST API - Postman

Updated

Commvault REST APIs are available as a Postman collection. To start working with Commvault REST APIs, import the collection into Postman and complete a simple setup procedure.

Before You Begin

Download the Postman application from the Postman website, and install it on a computer that can communicate with the CommServe computer.

Procedure

  1. Import the Commvault REST API collection into your Postman application:

  2. In the Postman application, create an environment.

    For information on creating an environment, go to the Postman website, Manage environments.

  3. In the Commvault REST API collection, open the 0 - Setup folder and click the Environment Setup API.

  4. On the Pre-request Script tab, update the predefined variables with your user name, your Base64 encoded password, and your Web Service URL.

    For information on the Web Service URL, see Available Web Services for REST API.

  5. To run the API, click Send.

    The Environment Setup API returns an authentication token. The token, your user name, your Base64 encoded password, and your Web Service URL are saved as environment variables.