API ReferencePrivacy

Export a data subject's data

Queue a machine-readable export (DSAR) of all events for the given subjects. Rate limited to 30 requests per minute. Returns a request_id; download the artifact from /privacy/requests/{id}/download once it completes.

POST
/privacy/export
x-logspot-sk<token>

Project secret key (prefixed sk_). Server-side only — never expose it client-side.

In: header

distinct_idsarray<string>
Items1 <= items <= 2000
regulation?string|null
window?string|null
Value in"all" | "trailing_12_months"

Response Body

curl -X POST "https://api.logspot.io/privacy/export" \  -H "Content-Type: application/json" \  -d '{    "distinct_ids": [      "string"    ]  }'
Empty
Empty
Empty
Empty
Empty