Skip to content

Authentication

Every API request to the Privacy Portal Admin API must be authenticated. To authorize external scripts, developer portals, or orchestration tools, you must generate a secure API key and include it in your HTTP headers.

In this tutorial, you will learn how to obtain your API key via the BigID product integration and construct the necessary authentication headers.


1. Locating the Privacy Portal Integration

Section titled “1. Locating the Privacy Portal Integration”

When the Privacy Portal is integrated into BigID, it is accessed as a custom application.

  1. Find the Requests Menu

    By default, the Privacy Portal is accessed via the BigID integration at the following URL pattern:

    https://<YOUR_BIGID_URL>/#/customApp/69a802316d9bfbd8e1fzzb0/request-manager

    The left-hand sidebar displays the main navigation menu with the Requests item selected:

    Requests Page in Menu
  2. Transition to the Users Settings Page

    API Key settings are located in the User Settings panel. Replace /request-manager at the end of the URL with /settings/users to jump directly to this screen:

    https://<YOUR_BIGID_URL>/#/customApp/69a802316d9bfbd8e1fzzb0/settings/users

  1. Select Your User Profile

    On the Users Settings screen, select the user account for which you want to generate an API key. Scroll to the bottom of their profile to find the API Keys section.

    API Keys Section
  2. Launch the Generation Modal

    Click the Generate button in the top-right corner of the API Keys grid.

    Generate API Key Dialog
  3. Configure Expiration and Name

    In the configuration dialog:

    • API Key Name: Enter a descriptive name (e.g., Orchestration-Automation-Key).
    • API Key expires after (days): Set the expiration duration. The maximum limit is 3650 days (10 years).

    Click Generate to proceed.

  4. Copy the Key Value Immediately

    The next dialog displays your newly generated token value.

    Copy Generated API Key

    Click the copy icon (clipboard) to copy the key immediately.


To authenticate requests to the Admin API, pass your copied key in the X-API-Key HTTP header.

X-API-Key: YOUR_GENERATED_API_KEY
Content-Type: application/json

Select your preferred language to see how to authenticate your API calls:

import requests
url = "https://bigidprivacy.cloud/api/prm/my-tenant/user-profiles"
headers = {
"X-API-Key": "YOUR_API_KEY",
"Content-Type": "application/json"
}
response = requests.get(url, headers=headers)
print(response.json())