# Retrieving Parameter IDs

Parameters are essential components that can be included with an endpoint to modify the behavior and response obtained from the PlexTrac API. These parameters serve as options, allowing users to customize their requests, retrieve specific information, or perform specific actions.&#x20;

The following is a compilation of commonly used parameters in various PlexTrac API endpoints, accompanied by an explanation of locating the corresponding values within the platform to fulfill each request's specific requirements.

## Tenant IDs

The `tenantId` is returned when an authentication API is requested, as shown here:&#x20;

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2Fmj4teTDCYD5X5Vc8aN0i%2Fimage.png?alt=media&#x26;token=f53a541f-5d61-4d5d-b1f5-46e16b39888c" alt=""><figcaption></figcaption></figure></div>

## Client IDs

The `clientId` can be retrieved from the platform by going to the **Clients** module, clicking the desired client, and looking at the numerical value in the URL between "clients" and "reports" in the URL path.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FCpRWyQZMYLVYvkK3hkQ7%2Fimage.png?alt=media&#x26;token=471b8c15-42a8-44fd-a704-6dfff1a08827" alt=""><figcaption></figcaption></figure></div>

## Finding IDs

The `findingId` can be retrieved from the platform by going to a client or report, clicking the **Findings** tab, clicking the desired finding, and looking at the **Finding ID** field.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FDlJZ6zjWArFVySEauu8h%2Fimage.png?alt=media&#x26;token=5e04ec0b-4e70-4cb1-b067-e1b6109a2bd7" alt=""><figcaption></figcaption></figure></div>

## Report IDs

The `reportId` can be retrieved from the platform by going to the **Reports** module, clicking the desired report, and looking at the numerical value at the end of the URL.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FteRhsGNLfyJcl6Xj153Y%2Fimage.png?alt=media&#x26;token=7264eb16-a480-4a05-8f4a-25a4cb2c028b" alt=""><figcaption></figcaption></figure></div>

## Repository IDs

The `repositoryId` for DBs can be retrieved from the platform by going to the desired module under the **Content Library**, clicking the appropriate repository card, and looking at the value at the end of the URL.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FjCBQlXQblLJpak3yh8yu%2Fimage.png?alt=media&#x26;token=c69d0fa3-563d-4a42-8c1e-9d23a5760710" alt=""><figcaption></figcaption></figure></div>

## Role IDs

The `roleId` for default roles are:

* **ADMIN:** cljhc9ggj000008l99gkyai90
* **STD\_USER:** cljhc9rvn000208l9g4lpai54
* **ANALYST:** cljhc9yh1000308l9ar7j8mux

The `roleId` for custom roles can be identified by looking at the URL of the role within the platform.&#x20;

<mark style="background-color:yellow;">Step 1:</mark> Click **Account Admin** under the user name pulldown menu.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FfK939pL6XDo0qkHPmeTS%2Fimage.png?alt=media&#x26;token=70e1591b-b118-4466-a506-b69f4104c1fa" alt="" width="272"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 2:</mark> Click **Security** under "Security & User Management."

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2Fm1zJpxJps49tyl3BD1LU%2Fimage.png?alt=media&#x26;token=5f617d7b-cc03-4069-b015-4c90d22cc492" alt="" width="249"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 3:</mark> Click **Role Based Access**.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FuHWdZoXtTzdEFjFdbTYH%2Fimage.png?alt=media&#x26;token=69cc8b22-b26d-495f-a058-4a034abff9fa" alt="" width="232"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 4:</mark> Click the box of the custom role.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FUOf394ivFFwHGRpwrq01%2Fimage.png?alt=media&#x26;token=07c9580e-45f8-4951-9fba-99e43b0b36d5" alt=""><figcaption></figcaption></figure></div>

The `roleId` is the value at the end of the URL.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FAVo1WEqgbfBZ211K1FmL%2Fimage.png?alt=media&#x26;token=d5bb99b0-3aa1-48e4-89fa-90fcb8fa76e9" alt=""><figcaption></figcaption></figure></div>
