Skip to content

Find your org ID

Your organization ID is a unique identifier that scopes every API request to your organization. You must include it as the X-Org-Id header on all Management API and Consent API calls.

  1. Sign in to https://platform-dev.truconsent.io.
  2. Go to Settings → API Settings.
  3. Your organization ID is shown in the Organization ID section.

Copy the value — it looks like this:

a1b2c3d4-e5f6-7890-abcd-ef1234567890

Include X-Org-Id on every API request:

Terminal window
curl -X GET "https://management.truconsent.io/api/v1/external/public/assets" \
-H "X-API-Key: YOUR_ADMIN_API_KEY" \
-H "X-Org-Id: YOUR_ORG_ID"

The API uses X-Org-Id to scope all data lookups and access control to your organization. Requests without a valid value are rejected with 400 Bad Request — Tenant context not found.