Skip to content
Notice This app is in Beta Testing We are still testing Record Sender, so features may change.
Sign in

Privacy — API reference

The key's own person's GDPR rights in this account: a copy of their data (Art. 15, 20; a zip of JSON, kept 7 days), erasure (Art. 17; scheduled 7 days ahead and cancellable, waits while a legal hold covers the data), consents (Art. 7; an append-only ledger) and what the account keeps about them (the data catalog). Scopes `privacy:read` / `privacy:write`.

← All groups
GET /api/v1/privacy/consents

Your consents

Scope: privacy:read · privacy.consents

Responses 200 · 401 · 403 · 429

200 Success

consents * [object]
history * [object]

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

POST /api/v1/privacy/erasure

Ask for your data to be erased

Scheduled 7 days ahead (cancel until then). Personal mailboxes, attachments, contacts, memory, history and sign-ins here go; the organization's records stay (the answer's result lists what and why). The account's only superadmin can't erase themselves from a business with other members.

Scope: privacy:write · Idempotency-Key · privacy.erase

Request body application/json
note string
Responses 202 · 401 · 402 · 403 · 409 · 422 · 429

202 Success

request * PrivacyRequest
fields

PrivacyRequest

completed_at string | null
due_at string (date-time) the one-month answer deadline
file_expires_at string | null
id string (uuid)
inserted_at string (date-time)
kind "export" | "erasure"
note string | null
result object export: datasets → rows; erasure: what was deleted, anonymised and kept (with reasons)
scheduled_for string | null erasure: when it runs
status "processing" | "completed" | "scheduled" | "waiting_hold" | "cancelled" | "expired" | "failed"

401 Problem details (401)

402 Problem details (402)

403 The key acts for no person

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

409 Problem details (409)

422 transfer_ownership_first

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

POST /api/v1/privacy/export

Ask for a copy of your data

Scope: privacy:write · Idempotency-Key · privacy.export

Responses 202 · 401 · 402 · 403 · 409 · 422 · 429

202 Success

request * PrivacyRequest
fields

PrivacyRequest

completed_at string | null
due_at string (date-time) the one-month answer deadline
file_expires_at string | null
id string (uuid)
inserted_at string (date-time)
kind "export" | "erasure"
note string | null
result object export: datasets → rows; erasure: what was deleted, anonymised and kept (with reasons)
scheduled_for string | null erasure: when it runs
status "processing" | "completed" | "scheduled" | "waiting_hold" | "cancelled" | "expired" | "failed"

401 Problem details (401)

402 Problem details (402)

403 The key acts for no person

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

409 Problem details (409)

422 request_open

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

GET /api/v1/privacy/kept

What this account keeps about you

Scope: privacy:read · privacy.kept

Responses 200 · 401 · 403 · 429

200 Success

datasets * [CatalogDataset]
fields

CatalogDataset

app string
classification "public" | "internal" | "confidential" | "restricted"
domain string
export_fields [string]
keep_reason string | null
key string
legal_basis string
name string
on_erasure "delete" | "anonymise" | "keep"
owner "person" | "organization" | "platform"
purpose string
retention string
sources [string]
table string

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

GET /api/v1/privacy/requests

Your privacy requests

Scope: privacy:read · paginated · privacy.requests

ParameterInTypeDescription
cursorquerystringThe `next_cursor` of the previous page
limitqueryintegerPage size
Responses 200 · 401 · 403 · 429

200 Success

has_more boolean
next_cursor string | null Pass as `cursor` for the next page; null on the last
requests * [PrivacyRequest]
fields

PrivacyRequest

completed_at string | null
due_at string (date-time) the one-month answer deadline
file_expires_at string | null
id string (uuid)
inserted_at string (date-time)
kind "export" | "erasure"
note string | null
result object export: datasets → rows; erasure: what was deleted, anonymised and kept (with reasons)
scheduled_for string | null erasure: when it runs
status "processing" | "completed" | "scheduled" | "waiting_hold" | "cancelled" | "expired" | "failed"

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

GET /api/v1/privacy/requests/{id}

One of your privacy requests

Scope: privacy:read · privacy.show

ParameterInTypeDescription
id *pathstring (uuid)
Responses 200 · 401 · 403 · 404 · 429

200 Success

request * PrivacyRequest
fields

PrivacyRequest

completed_at string | null
due_at string (date-time) the one-month answer deadline
file_expires_at string | null
id string (uuid)
inserted_at string (date-time)
kind "export" | "erasure"
note string | null
result object export: datasets → rows; erasure: what was deleted, anonymised and kept (with reasons)
scheduled_for string | null erasure: when it runs
status "processing" | "completed" | "scheduled" | "waiting_hold" | "cancelled" | "expired" | "failed"

401 Problem details (401)

403 Problem details (403)

404 Problem details (404)

429 Problem details (429)

POST /api/v1/privacy/requests/{id}/cancel

Cancel a scheduled erasure

Scope: privacy:write · Idempotency-Key · privacy.cancel

ParameterInTypeDescription
id *pathstring (uuid)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

request * PrivacyRequest
fields

PrivacyRequest

completed_at string | null
due_at string (date-time) the one-month answer deadline
file_expires_at string | null
id string (uuid)
inserted_at string (date-time)
kind "export" | "erasure"
note string | null
result object export: datasets → rows; erasure: what was deleted, anonymised and kept (with reasons)
scheduled_for string | null erasure: when it runs
status "processing" | "completed" | "scheduled" | "waiting_hold" | "cancelled" | "expired" | "failed"

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 Problem details (409)

422 not_cancellable

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

GET /api/v1/privacy/requests/{id}/download

Download your data export

Scope: privacy:read · privacy.download

ParameterInTypeDescription
id *pathstring (uuid)
Responses 200 · 401 · 403 · 404 · 422 · 429

200 Success

string

401 Problem details (401)

403 Problem details (403)

404 Problem details (404)

422 expired

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)