API ReferencePrivacy Requests
Create a privacy request
File a privacy request (also called a data subject request) for one or more subjects across the organization: request_type is deletion (irreversible erasure of all events and identity records) or export (a machine-readable DSAR artifact; window applies to exports only). Requires an organization-scoped API token with privacy_requests:write. Deletion is rate limited to 5 requests per minute, export to 30. Returns 202 with the request id to poll.
AuthorizationBearer <token>
Organization API Token (prefixed sk_) sent as Authorization: Bearer sk_.... Create one in Settings and grant it scopes. Server-side only.
In: header
request_typestring
Value in
"deletion" | "export"distinct_idsarray<string>
Items
1 <= items <= 2000regulation?string|null
window?string|null
Value in
"all" | "trailing_12_months"Response Body
curl -X POST "https://api.logspot.io/v1/privacy-requests" \ -H "Content-Type: application/json" \ -d '{ "request_type": "deletion", "distinct_ids": [ "string" ] }'Empty
Empty
Empty
Empty
Empty