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.
Where requests come from
- The privacy portal. The person signs in and files it themselves.
- Your team. Someone with the Editor role or above logs it under Rights → New request.
- Your server. A request that reached you by email, phone, support, in your app or by post can be logged through the API (below).
Every route gives the same request: the same response deadlines (set in Settings), an acknowledgement email to the person, and a rights.created webhook. Your team handles each one in the dashboard: NEW → VERIFYING → IN_PROGRESS → COMPLETED or REJECTED.
Logging a request from your server
With a secret key, name the person by your own user id. The person must already be known to ClearDP on this property (they have a consent record under that id); an unknown id is refused with 422 and nobody is created. The console shows the channel on the request ("Filed … by email, logged through your API"), and your team still verifies the person before acting.
// A customer emailed asking for their data to be corrected. await fetch('https://app.cleardp.in/v1/rights-requests', { method: 'POST', headers: { Authorization: 'Bearer ' + process.env.CLEARDP_SECRET_KEY, 'Content-Type': 'application/json', 'Idempotency-Key': ticket.id, }, body: JSON.stringify({ externalId: customer.id, type: 'CORRECTION', // ACCESS, CORRECTION, ERASURE or NOMINATION channel: 'EMAIL', // EMAIL, PHONE, SUPPORT, IN_APP, POST or OTHER details: { description: 'My surname is spelt Sharma, not Sarma.' }, }), });
Read where requests stand with GET /v1/rights-requests/<id>, list the property's requests with GET /v1/rights-requests (filter by status, type or externalId), or list one person's with GET /v1/principals/ext:<id>/rights-requests, for your own account pages. All are in the API reference.
Erasure, step by step
- Verify the person. Move the request to
VERIFYINGfirst. An erasure request cannot go fromNEWstraight toIN_PROGRESSorCOMPLETED(422verification-required): erasure is permanent, and deleting the wrong person's data cannot be undone. No particular verification method is required; the step is recorded. - Start work. Moving it to
IN_PROGRESSsendserasure.requestedwith every purpose on record, so your systems delete now. Completing straight fromVERIFYINGis refused (422erasure-notification-required). - Confirm and complete. Once your systems have deleted, someone with the DPO role or above completes the request and confirms the deletion (an Editor can move it along but not complete it). Consent still in force is withdrawn, and the person's identifiers are removed from the consent records (
principal.erased); the records themselves are kept as proof, without anything that identifies them.
A rejected erasure request that is reopened (Admin role) goes back to VERIFYING, never straight to IN_PROGRESS. Other request types are not gated this way.
Answering an access request
Under section 11 of the Act, a person asking for access is entitled to:
- a summary of the personal data you process about them, and the processing activities;
- the identities of the other Data Fiduciaries and Data Processors you have shared it with, and a description of what was shared;
- anything further the Rules prescribe.
ClearDP holds only its part: the request's Access package (on the request in the console) is everything ClearDP records about the person, including their consent history. The data in your own systems, and who you shared it with, has to come from you. Put the answer in one ZIP and attach it to the request as shared with the person; they download it from their privacy portal.
Telling people about a breach
When your team records a breach and notifies, ClearDP sends incident.notify. Its affectedPrincipalsPath lists the affected people on your property, so you can tell them through your own channels:
// On incident.notify, page through the people it affects on this property. let after = ''; do { const r = await fetch('https://app.cleardp.in' + event.data.affectedPrincipalsPath + (after ? '?after=' + after : ''), { headers: { Authorization: 'Bearer ' + process.env.CLEARDP_SECRET_KEY }, }); const page = await r.json(); for (const p of page.items) await queueBreachNotice(p.externalId ?? p.principalId, event.data); after = page.nextCursor; } while (after);
The Act (s.8(6)) requires a data fiduciary to intimate each affected person, and the Data Protection Board, of a personal data breach, so telling people is not optional once a breach has occurred. The Rules expect each affected person to be told without delay, concisely and in clear and plain language, and the notice to say:
- what happened: the nature and extent of the breach, and when and where it occurred;
- the consequences likely to arise for them;
- what you have done, and are doing, to limit them;
- the safety measures they can take themselves;
- the contact details of someone who can answer their questions.
A breach notice is not marketing: it does not depend on marketing consent. Opening an incident in the breach module (the Board deadline, notices from ClearDP and the people list) is part of Enterprise; an incident already open can still be run to completion on any plan, and the duty to notify applies on every plan.