Make your first API call

In this section, you'll learn how to make your first API call using the Azure "Try it" feature. We’ll guide you through the steps to authenticate, configure, and send a request directly from the documentation. This hands-on approach will help you quickly understand how to interact with the API and explore its functionalities. By the end of this section, you'll have made a successful API call and gained practical experience in using the API.

Below are the steps to run the API:

  1. Click on the APIs dropdown in the header.

  2. Click on API Documentation.

  3. On the home page, click on the Explore APIs button.

  4. Click on the Momentus Enterprise API.

  5. Choose the specific API for trial.

  6. Click on the Try it button.

  7. Return to the Integration Hub application.

  8. Click on API Credentials in the APIs dropdown in the header.

  9. Copy the Subscription Key using the copy icon.

  10. Paste the copied Subscription Key.

  11. Add the parameters as required for your API.

Using OAuth:

  1. In the Integration Hub application, go to the Credentials tab.

  2. Hover over the credentials.

  3. Click on the eye icon and copy the Access Token.

  4. In the Headers section, click on Add Header.

  5. Add a header with the name Authorization and the copied value.

  6. Click on the Send button.

Using Api Token:

  1. In the Integration Hub application, go to the Credentials tab.

  2. Hover over the credentials.

  3. Click on the eye icon and copy the API Token.

  4. In the Headers section, click on Add Header.

  5. Add a header with the name ApiToken and the copied value.

  6. Click on the Send button.