طلب تصدير البيانات
curl --request POST \
--url https://api.truthlocks.com/v1/consumer/privacy/export \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"format": "json",
"reason": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({format: 'json', reason: '<string>'})
};
fetch('https://api.truthlocks.com/v1/consumer/privacy/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/consumer/privacy/export"
payload = {
"format": "json",
"reason": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/v1/consumer/privacy/export"
payload := strings.NewReader("{\n \"format\": \"json\",\n \"reason\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"job_id": "<string>",
"status": "PENDING",
"created_at": "2023-11-07T05:31:56Z"
}المستهلك (B2C)
طلب تصدير البيانات
اطلب تصديرًا كاملاً لجميع البيانات المرتبطة بحسابك. يتم تسليم الصادرات بتنسيق JSON وتتضمن ملفك الشخصي، والحماية، وبيانات الاعتماد، وسجل النشاط.
POST
/
v1
/
consumer
/
privacy
/
export
طلب تصدير البيانات
curl --request POST \
--url https://api.truthlocks.com/v1/consumer/privacy/export \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"format": "json",
"reason": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({format: 'json', reason: '<string>'})
};
fetch('https://api.truthlocks.com/v1/consumer/privacy/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/consumer/privacy/export"
payload = {
"format": "json",
"reason": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/v1/consumer/privacy/export"
payload := strings.NewReader("{\n \"format\": \"json\",\n \"reason\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"job_id": "<string>",
"status": "PENDING",
"created_at": "2023-11-07T05:31:56Z"
}اطلب تصديرًا كاملاً لجميع البيانات المرتبطة بحسابك. يتم تسليم الصادرات بتنسيق JSON وتتضمن ملفك الشخصي، والحماية، وبيانات الاعتماد، وسجل النشاط. عادةً ما يكتمل المعالجة في غضون دقائق قليلة.
بمجرد أن يصبح التصدير جاهزًا، تحقق من نقطة نهاية قائمة وظائف الخصوصية أو مركز الخصوصية للحصول على رابط التنزيل.
الاستجابات
الجسم
application/json

