privacy
POST
https://lucidace.com /v1/privacy/lookup Request body
application/json
emailstringOlder single-email form.
emailVerifiedbooleanemailsstring[]identityLookupIdentityShow child parameters
extstringAlso matched against
$cm_subject_id, then distinct id. canary:<hex> marks Cookie Munch's canary.issstringsubstringMatched against
$cm_subject_id, then distinct id.{
"email": "string",
"emailVerified": true,
"emails": [
"string"
],
"identity": {
"ext": "string",
"iss": "string",
"sub": "string"
}
}Code samples
cURL
curl -X POST "https://lucidace.com/v1/privacy/lookup" \
-H "Content-Type: application/json" \
-d '{"email":"string","emailVerified":true,"emails":["string"],"identity":{"ext":"string","iss":"string","sub":"string"}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
subjectId and found, or null and no_matchExample
{
"status": "string",
"subjectId": "string",
"subjectIds": [
"string"
]
}Schema
statusstringrequiredfound or no_match.subjectIdstringThe (first) matching subject, null when nothing matched.
subjectIdsarrayEvery match, present only when several persons matched (project executor).
404
POST
https://lucidace.com /v1/privacy/requests Request body
application/json
caseIdstringIdempotency key: the same
caseId + type answers with the same request.executeAfterstringRun a deletion or closure at this time, not now.
subjectIdstringrequiredA user id from a lookup, or the canary's
canary_<hex>.typestringrequiredaccess|export, deletion|erase|erasure, closure, restriction or rectification.{
"caseId": "string",
"executeAfter": "2024-01-01T00:00:00Z",
"subjectId": "string",
"type": "string"
}Code samples
cURL
curl -X POST "https://lucidace.com/v1/privacy/requests" \
-H "Content-Type: application/json" \
-d '{"caseId":"string","executeAfter":"2024-01-01T00:00:00Z","subjectId":"string","type":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
{id, type, status, eta?}; a deletion with a future executeAfter is scheduledExample
{
"canonicalType": "string",
"detail": "string",
"eta": "2024-01-01T00:00:00Z",
"id": "string",
"result": {},
"status": "string",
"type": "string"
}Schema
canonicalTypestringaccess, deletion, closure, restriction or rectification (project executor).detailstringetastringWhen a scheduled request runs.
idstringrequiredresultobjectThe export of a completed access request.
statusstringrequiredprocessing, scheduled, completed, rejected, cancelled or no_match.typestringrequiredThe type as opened.
404
GET
https://lucidace.com /v1/privacy/requests/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/privacy/requests/{id}"TypeScript
Python
Go
PHP
Ruby
Java
POST
https://lucidace.com /v1/privacy/requests/{id}/cancel Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://lucidace.com/v1/privacy/requests/{id}/cancel"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 The request:
cancelled when it had not started, else its final statusSame as 200 · POST /v1/privacy/requests
404
GET
https://lucidace.com /v1/projects/{project_id}/cookiemunch Scope settings:readThe project's Cookie Munch link. **Key for rights requests:** a Cookie Munch executor (or any erasure handler) needs only a project secret key holding `privacy:execute`, minted with an account key: `POST /v1/projects/{project_id}/keys {"kind":"secret","name":"erasure","scopes":["privacy:execute"]}`. It reaches the `/privacy/*` rights routes and person erasure of this project, nothing else; do not use an `admin` key for this.
Parameters
project_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/cookiemunch" \
-H "Authorization: Bearer $LUCIDACE_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
{linked_sites: [{cbid, link_id, linked_at}], partner_enabled, erasure_path: cookiemunch|webhook_source|both|none, completion: {configured, url}, next_step}; next_step is the call to make next, or null when everything is wired404
GET
https://lucidace.com /v1/projects/{project_id}/dsar-exports Scope adminParameters
project_idstringpathrequiredlimitintegerquerycursorstringqueryCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/dsar-exports"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"data": [
{
"completed_at": "2024-01-01T00:00:00Z",
"created_at": "2024-01-01T00:00:00Z",
"error": "string",
"expires_at": "2024-01-01T00:00:00Z",
"id": "string",
"person_id": "string",
"size_bytes": 0,
"status": "string",
"download_url": "string"
}
],
"next_cursor": "string"
}Schema
dataExportView[]requiredShow child parameters
completed_atstringcreated_atstringrequirederrorstringexpires_atstringidstringrequiredperson_idstringrequiredsize_bytesintegerstatusstringrequiredpending | running | done | faileddownload_urlstringPresent once the export is
done and not expired.next_cursorstring404
GET
https://lucidace.com /v1/projects/{project_id}/dsar-exports/{id} Scope adminParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/dsar-exports/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"completed_at": "2024-01-01T00:00:00Z",
"created_at": "2024-01-01T00:00:00Z",
"error": "string",
"expires_at": "2024-01-01T00:00:00Z",
"id": "string",
"person_id": "string",
"size_bytes": 0,
"status": "string",
"download_url": "string"
}Schema
completed_atstringcreated_atstringrequirederrorstringexpires_atstringidstringrequiredperson_idstringrequiredsize_bytesintegerstatusstringrequiredpending | running | done | faileddownload_urlstringPresent once the export is
done and not expired.404
DELETE
https://lucidace.com /v1/projects/{project_id}/dsar-exports/{id} Scope adminParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/dsar-exports/{id}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204 The export row and its stored bundle are gone
404
GET
https://lucidace.com /v1/projects/{project_id}/dsar-exports/{id}/download Scope adminParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/dsar-exports/{id}/download"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 The JSON bundle (attachment)
404 Unknown, not ready or expired
POST
https://lucidace.com /v1/projects/{project_id}/persons/{id}/export Scope adminParameters
project_idstringpathrequiredidstringpathrequiredCode samples
cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/persons/{id}/export"TypeScript
Python
Go
PHP
Ruby
Java
Responses
202 Export queued; poll the export, then follow download_url
Same as 200 · GET /v1/projects/{project_id}/dsar-exports/{id}
404
503
GET
https://lucidace.com /v1/projects/{project_id}/privacy/completion Parameters
project_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/privacy/completion" \
-H "Authorization: Bearer $LUCIDACE_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 never the secret
Example
{
"configured": true,
"last_signed_completion_at": "2024-01-01T00:00:00Z",
"url": "string"
}Schema
configuredbooleanrequiredWhether a URL and secret are stored (signed completions are sent).
last_signed_completion_atstringWhen a signed completion last reached Cookie Munch.
urlstringThe connection's
completionUrl, or null when none is set.404
PUT
https://lucidace.com /v1/projects/{project_id}/privacy/completion Parameters
project_idstringpathrequiredRequest body
application/json
secretstringrequiredThe connection's
completionSecret (whsec_..., base64 after the prefix).urlstringrequiredThe connection's
completionUrl (https).{
"secret": "string",
"url": "string"
}Code samples
cURL
curl -X PUT "https://lucidace.com/v1/projects/{project_id}/privacy/completion" \
-H "Authorization: Bearer $LUCIDACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"secret":"string","url":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 the secret is stored sealed and never returned
Same as 200 · GET /v1/projects/{project_id}/privacy/completion
400
404
Updated