Privacy Labs Developer Reference

Privacy Labs is a plug-and-play DPDP compliance platform for Indian startups. This reference covers every module, the DPDP Act requirement each one satisfies, and the integration details your team needs to wire it up.

Why this exists: The Digital Personal Data Protection Act 2023 (DPDP) gives every Indian citizen rights over their personal data. Non-compliance carries penalties up to Rs.250 crore per instance. Privacy Labs implements the technical requirements so you do not have to build them from scratch.

Onboarding (6 steps)

After creating an account, every new organisation goes through a guided setup wizard at /onboarding. The wizard must be completed before you can access either dashboard.

StepWhat happens
1Account Creation - Email, password, and account verification.
2Business Information - Company name, website URL, industry, and registered address. This generates your unique organisation slug.
3Cookie Configuration - Choose which cookie categories to enable (Essential is always on; Analytics, Marketing, Performance are optional). Set banner title and description.
4Integration Choice - Select your platform: JavaScript, Next.js, Shopify, or WordPress for web; React Native or Flutter for mobile.
5Integration Instructions - Platform-specific code snippet to copy and paste. Includes a verification step to confirm the banner is loading on your site.
6Welcome - Onboarding complete. Redirects to the Operator Dashboard (or Admin Dashboard if the account role is ADMIN or DPO).

Two Dashboards, Four Roles

After onboarding, users land on one of two dashboards based on their role. The header of each dashboard shows a switch button to move between them (subject to role access).

Admin Dashboard

Roles: ADMIN, DPO

  • Compliance Hub
  • Integration Settings
  • Data & Audit
  • Privacy Ops
  • Legal
  • Security
  • Team & Settings

Operator Dashboard

Roles: OPERATOR, AUDITOR (ADMIN and DPO can also switch here)

  • Overview
  • Consent Management
  • DSR & Grievances (2 sub-tabs)
  • Analytics & Reports
  • Settings

Operators may also see additional sections (Integration Settings, Legal Policies, Audit Logs) if the Admin has granted them access to those via Team & Settings.

RoleDashboard accessWhat they do
ADMINAdmin + OperatorFull access. Billing, settings, team management, all compliance modules.
DPOAdmin + OperatorCompliance oversight. Can review and resolve escalated DSRs and grievances. Cannot change billing.
OPERATOROperator onlyProcesses DSR requests and grievances. Can escalate to DPO for actions outside their permission level.
AUDITOROperator only (read-only)Reviews consent logs, DSR history, audit trails. Cannot take any actions or make changes.

Admin Dashboard Modules

Set these up roughly in order. The consent banner is visible to your users from day one. The database connection unlocks the auto-generated privacy policy, data retention alerts, and the compliance score.

Security & Compliance Status

All data encrypted in transit (TLS 1.2+) and at rest (AES-256)
Audit logs are SHA-256 hashed and immutable
RBAC enforced at API level for every request
SOC 2 Type II certification: planned

Need Help?

Our team is available for DPDP-specific integration questions and onboarding support.

Contact Support