Skip to content

DPO info

GET /dpo

Use this endpoint to retrieve the Data Protection Officer (DPO) information registered for your organization. Display this to users who need to know who is responsible for their data, as required by many privacy regulations.

Headers

HeaderTypeRequiredDescription
X-API-KeystringYesYour tenant API key

Response

200 OK

FieldTypeDescription
idstringUUID of the DPO record
full_namestringFull name of the Data Protection Officer
emailstringContact email address of the DPO
appointment_datestring or nullDate the DPO was formally appointed. null if not recorded.
qualificationsstring or nullProfessional qualifications. null if not recorded.
responsibilitiesstring or nullDescription of the DPO’s role and responsibilities. null if not recorded.
created_atstringISO 8601 timestamp when the record was created
updated_atstringISO 8601 timestamp of the most recent update

Errors

StatusClassificationDetails
400Validation ErrorX-Org-Id header required
401UnauthenticatedInvalid or missing API key
403ForbiddenAPI key lacks required scope
404Not FoundNo DPO record has been configured for your organization
500Internal ErrorInternal server error

Example

Terminal window
curl --request GET \
--url https://api.truConsent.io/dpo \
--header "X-API-Key: YOUR_API_KEY"
{
"id": "e5f6a7b8-c9d0-1234-efgh-456789012345",
"full_name": "Priya Sharma",
"email": "dpo@example.com",
"appointment_date": null,
"qualifications": null,
"responsibilities": null,
"created_at": "2024-01-10T08:00:00",
"updated_at": "2024-01-10T08:00:00"
}