List the workspace's privacy requests
curl --request GET \
--url https://api.getoneprofile.ai/inbox/privacy-requests/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getoneprofile.ai/inbox/privacy-requests/"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.getoneprofile.ai/inbox/privacy-requests/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getoneprofile.ai/inbox/privacy-requests/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.getoneprofile.ai/inbox/privacy-requests/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.getoneprofile.ai/inbox/privacy-requests/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/inbox/privacy-requests/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"blocked": true,
"due_at": "2023-11-07T05:31:56Z",
"erased_at": "2023-11-07T05:31:56Z",
"handled_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "erasure",
"received_at": "2023-11-07T05:31:56Z",
"status": "open",
"subject_email": "<string>",
"subject_name": "<string>",
"thread_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"erasure": {
"agent_conversations": 123,
"conversations": 123,
"enrolments": 123,
"messages": 123,
"not_erased": [
{
"records": 123,
"table_name": "<string>",
"tool_name": "<string>"
}
],
"sources": [
{
"how": "lead_search",
"rows": 123,
"table_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"table_name": "<string>",
"in_trash": false
}
]
},
"handled_by_name": "<string>",
"handled_by_user_id": "<string>",
"overdue": false
}
],
"next_page_cursor": "<string>",
"previous_page_cursor": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}inbox
List the workspace's privacy requests
Every privacy request a reply made, open and handled, newest first: who it is about, what it asks, when it came, its answer-by date (due_at, overdue once passed), who handled it and when, and for an erased person what the erasure deleted and the connected tools it could not reach (erasure). Kept after an erasure took the conversation away, as the record that it was answered. status narrows it to the open or the handled ones. Admins only. Changes nothing.
GET
/
inbox
/
privacy-requests
/
List the workspace's privacy requests
curl --request GET \
--url https://api.getoneprofile.ai/inbox/privacy-requests/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getoneprofile.ai/inbox/privacy-requests/"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.getoneprofile.ai/inbox/privacy-requests/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getoneprofile.ai/inbox/privacy-requests/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.getoneprofile.ai/inbox/privacy-requests/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.getoneprofile.ai/inbox/privacy-requests/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/inbox/privacy-requests/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"blocked": true,
"due_at": "2023-11-07T05:31:56Z",
"erased_at": "2023-11-07T05:31:56Z",
"handled_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "erasure",
"received_at": "2023-11-07T05:31:56Z",
"status": "open",
"subject_email": "<string>",
"subject_name": "<string>",
"thread_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"erasure": {
"agent_conversations": 123,
"conversations": 123,
"enrolments": 123,
"messages": 123,
"not_erased": [
{
"records": 123,
"table_name": "<string>",
"tool_name": "<string>"
}
],
"sources": [
{
"how": "lead_search",
"rows": 123,
"table_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"table_name": "<string>",
"in_trash": false
}
]
},
"handled_by_name": "<string>",
"handled_by_user_id": "<string>",
"overdue": false
}
],
"next_page_cursor": "<string>",
"previous_page_cursor": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Query Parameters
Response
Successful Response
Was this page helpful?