Getting Started

Welcome to the Redacto Consent Management Platform (CMP) developer documentation. This guide covers everything you need to integrate Redacto CMP into your systems using our SDKs and APIs.

Server Variables

To set up the integration, you will need the following values from the Redacto Console:

VariableDescription
organisation_uuidYour organisation's unique identifier
workspace_uuidThe workspace where consent notices are configured
CMS API KeySecret key for backend-to-Redacto authentication
notice_uuidThe specific consent notice you want to display

Important: The CMS API Key is a secret and should never be exposed to the frontend. Store it securely in your backend environment variables.

Authentication

Redacto CMP uses two authentication methods for different scenarios:

CMS API Key

The CMS API Key authenticates your backend servers when communicating with Redacto APIs. This is used for:

  • Generating JWT tokens for users
  • Refreshing JWT tokens
  • Managing consent users
  • Accessing user management APIs

Header Format:

X-CMS-API-KEY: your-cms-api-key-here

How to obtain:

  1. Log in to the Redacto Console
  2. Navigate to your workspace settings
  3. Generate a new API key
  4. Store it securely in your backend environment variables

JWT Auth

JWT (JSON Web Token) authentication is used by the Redacto frontend SDK to check and collect user consent. The flow works as follows:

  1. Your backend generates a JWT token using the CMS API Key
  2. Your frontend receives the token
  3. The SDK uses this token to authenticate API calls

Header Format:

Authorization: Bearer <jwt-token>

Note: Token generation does not create consent users. Consent users are created when consent is submitted through the SDK, or when you explicitly create them via the User Management API.


What’s Next