Launching soon. Sign-ups are not open yet. Join the waitlist and we will write to you when they are.

Self-hosting

One binary, one database, one bucket

Enterprise runs in your own infrastructure. There is no agent, no sidecar and no callback to us: the same API surface documented here is the API your deployment serves.

Launching soon

The managed service is not open yet: https://app.cleardp.in does not accept requests and accounts cannot be created. These pages describe the API as it ships. Join the waitlist to hear when it opens.

What you run

  • One Go binary. The API, the principal portal and the Consent-Manager surface are served by the one process — there is nothing to orchestrate between them.
  • PostgreSQL. Principals, purposes, notice versions, the append-only artifact chain, rights requests and the job queue tables all live here.
  • Object storage. Rendered notice snapshots are stored as sanitised HTML and streamed on request, which is what makes GET /v1/notices/{noticeVersionId}/body and the portal's snapshotUrl links answer years later with the exact words a principal saw.

Both dependencies are yours, in your region. Residency becomes a deployment fact rather than a policy sentence — see Trust.

Probes

GET /healthz is liveness: the process is up. Only status is guaranteed; version is optional.

# 200 /healthz
{
  "status": "ok",
  "version": "0.2.0"
}

GET /readyz is readiness, and it means something specific: PostgreSQL is reachable and the job queue tables are present. Point your load balancer at this one. 503 is its only failure code, returned as application/problem+json like every other error on the surface.

# 200 /readyz
{
  "status": "ready",
  "version": "0.2.0"
}

After a deploy, GET /v1/ping with a property key confirms the key path end to end and reports whether the key resolves to LIVE or TEST mode.

What differs from the managed service

  • Your hostname. Every base URL in the reference becomes your host; the paths do not change.
  • Portal sessions are signed locally. The portal issues a 30-minute RS256 JWT in an httpOnly cookie, so the deployment holds its own signing key pair.
  • Custom portal domains. Once a portal domain is verified, the property is resolved from the Host header and GET /portal/theme no longer needs a propertyKey query parameter.
  • Consent-Manager interop is behind a deployment feature flag. While the flag is off, the whole /cm/v1 family answers 404 rather than 403 — inert, not merely refused. The flag's environment variable is named in the auth section of the reference.

Sizing, migrations and upgrades

The operator runbook — host sizing against active-principal counts, PostgreSQL settings, migration order, backup and restore drills, and the upgrade path between binary versions — is not written yet. Publishing an approximate one would be worse than publishing none, because an operator would size a compliance system against a guess.

This reference ships with GA.

Enterprise starts at from ₹12,50,000 a year — see pricing. If you are evaluating a self-hosted deployment now and need the sizing figures before they are public, write to support@cleardp.in and we will send what we have measured rather than what we hope.

ClearDP is a Data Processor under the DPDP Act, self-hosted or not. Self-hosting changes where the data sits, not who owes the obligation.

Start with proof, not promises

Accounts open soon: join the waitlist and we will write to you when yours can be created. The trial is 21 days, no card, starting on Growth. Or answer 8 questions and see your top-3 DPDP risks in 2 minutes.