View a Gdpr Request
View a Gdpr Request
GET
https://api.ocamba.com/v1/hood/gdpr-requests/{id}
Returns an instance of gdpr requests.Rate limits:
- Burst: 10/s
- Steady: 150/m
Query parameters
parametersPath parameters
parametersResponse schemas
›
200
application/json
›
400
application/json
›
500
application/json
curl -X GET \
"https://api.ocamba.com/v1/hood/gdpr-requests/{id}" \
-H "Authorization: Bearer {TOKEN}"
const url = 'https://api.ocamba.com/v1/hood/gdpr-requests/{id}';
const options = {
method: 'GET',
headers: {
Authorization: `Bearer {TOKEN}`
}
};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
$ch = curl_init("https://api.ocamba.com/v1/hood/gdpr-requests/{id}");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer {TOKEN}"
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
Responses
200 OK
{
"total": 1,
"items": [
{
"id": "1000000",
"company_id": "6197120",
"client_id": "17371227395790007397",
"status": "denied",
"submission_reason": "consent-withdrawal",
"rejection_reason": "Rejected because invalid proof of address was provided.",
"requester_information": {
"full_name": "Peter Dwayne",
"address": "521 Oak Street",
"phone_number": "+33126406",
"email": "[email protected]"
},
"subject_information": {
"full_name": "Dorothy Smith",
"address": "251 7th Avenue",
"phone_number": "+52321023",
"email": "[email protected]"
},
"information_to_remove": "I wish to remove all identifying information about myself",
"request_declaration": {
"signature": "John Smith",
"data_holder_name": "John's Data Emporium",
"date": "2025-01-21"
},
"proof_of_address": "https://dev-storage.ocamba.com/6197120/hood/gdpr-request/17371227395790007397/proof-of-address/dummy.pdf",
"proof_of_identity": "https://dev-storage.ocamba.com/6197120/hood/gdpr-request/17371227395790007397/proof-of-identity/dummy.pdf",
"create_time": "2025-01-20 13:41:49",
"update_time": "2025-01-20 14:00:44"
}
]
}
400 Bad Request
{
"code": 400,
"title": "Bad request.",
"message": "The request body is not valid.",
"trace_id": "99a84211-f73d-4ff8-acdf-eb3e06bb9d62"
}
500 Internal Server Error
{
"code": 500,
"title": "Internal server error.",
"trace_id": "99a84211-f73d-4ff8-acdf-eb3e06bb9d62"
}
Responses
Tip
Sortable fields are: create_time and update_time.
Filterable fields are: client_id, status, create_time and update_time