Marketplace API

Private preview: The Marketplace app is available to select accounts. Contact your Immuta representative for details.

Base path and global segment

In order to use the Marketplace API, you need to use the correct global segment. The following are the regional API base paths. Choose the global segment for the region you are in.

If using Test it in the Marketplace API endpoints documentation, click https://{global-segment}.api.immutacloud.com/marketplace in the endpoint and select your global segment from the dropdown. Once you plug in your PAT, the endpoint will run and complete the actions within your Marketplace app.

Authentication

Marketplace uses JWTs to match users with their tenants. The JWTs contain this metadata in the claims, which is required for the request context in the Marketplace API.

Generate a personal access token (PAT)

In the Marketplace app,

  1. Click Generate new token.

  2. Enter a description and set an expiration. You may select "No expiration" from the dropdown.

  3. Click Generate new token.

  4. The new PAT will be displayed. Store this token somewhere secure; it is only presented once and cannot be retrieved again later.

Authenticate with your PAT

To use your generated PAT, insert them as the Bearer token for your API calls:

curl -L \
  --url '{correct base path from above}/api/access-agreement' \
  --header 'Authorization: Bearer <your-PAT>'

Or, if using "Test It" in the Marketplace API endpoints documentation, include it in the bearer token:

Delete a PAT

In the Marketplace app,

  1. Select the more actions icon for the PAT you want to delete.

  2. Select Delete token and click Delete in the modal.

Download the Marketplace OpenAPI YAML

Download the Marketplace OpenAPI YAML to import it into Postman or use a client generator tools parse the OpenAPI definition to automatically produce client-side code.

Last updated

Was this helpful?