Skip to content
MiniMailer
Docs
Toggle sidebar
Quick links
Documentation
Knowledge Base
API Reference
Changelog
No results found

Recipients

Recipient privacy and right-to-forget operations.

DELETE /recipients/{recipient}/forget

Submit a right-to-forget request

Submits a GDPR right-to-erasure ("right to be forgotten") request for a recipient email address across the authenticated user's sending domains. MiniMailer records the request in a durable ledger and dispatches an asynchronous scrub that removes the recipient's personal data from every store while preserving a non-reversible hash for audit and re-erasure on backup restore.

The operation is idempotent: repeating it for an already-scrubbed recipient is a harmless no-op. Because erasure runs asynchronously, a 202-style acceptance means the request is recorded, not that scrubbing has finished. Requires the compliance:write scope.

Parameters

Name
In
Description
recipient required path The recipient email address.
DELETE /recipients/{recipient}/forget
curl -X DELETE https://api.minimailer.app/recipients/{recipient}/forget \
  -H "Authorization: Bearer $MINIMAILER_API_TOKEN" \
  -H "Accept: application/vnd.api+json"

Responses

Status
Description
202 Right-to-forget request accepted and processing.
401 Authentication is required. ErrorDocument
403 The authenticated token does not have permission to perform this action. ErrorDocument
404 The requested resource could not be found. ErrorDocument
422 The request document failed validation. ValidationErrorDocument
406 The Accept header mentions the JSON:API media type only in instances modified by disallowed media type parameters (or only with unsupported ext extensions), so no acceptable representation remains. ErrorDocument
429 The caller exceeded the API rate limit. ErrorDocument
GET /recipients/{recipient}/data

Request a recipient data export

Submits a GDPR Article 15 subject-access export for a recipient email address across the authenticated user's sending domains. The export is assembled asynchronously and delivered out of band; the acceptance response echoes the non-reversible recipient hash used to correlate the request with the completed export.

Requires the compliance:write scope.

Parameters

Name
In
Description
recipient required path The recipient email address.
GET /recipients/{recipient}/data
curl -X GET https://api.minimailer.app/recipients/{recipient}/data \
  -H "Authorization: Bearer $MINIMAILER_API_TOKEN" \
  -H "Accept: application/vnd.api+json"

Responses

Status
Description
202 Recipient data export request accepted and processing.
401 Authentication is required. ErrorDocument
403 The authenticated token does not have permission to perform this action. ErrorDocument
422 The request document failed validation. ValidationErrorDocument
406 The Accept header mentions the JSON:API media type only in instances modified by disallowed media type parameters (or only with unsupported ext extensions), so no acceptable representation remains. ErrorDocument
429 The caller exceeded the API rate limit. ErrorDocument