Skip to content
Sign in Create account

GET erasure-receipts/{}

GET /api/v1/erasure-receipts/{dsar_request_id}

Returns the signed deletion receipt for a verified data-subject request when available.

This operation needs no authentication.

Parameters

  • dsar_request_id string path required
    Pattern: ^[a-z0-9-]+$
  • email string query required
  • verification_token string query required

Responses

200 Successful response.

application/json ReceiptsErasureReceipt

  • chain_id string required
  • chain_seq integer required
  • completed_at string (date-time) or null required
  • downstream_open boolean or null required
  • dsar_request_id string required
    Example: "dsar_01j4x8m2a6b7c9d0e1f2g3h4j5"
  • erasure_scope object or array or string or null required
  • incomplete_reasons array of string required
  • jti string required
  • retain_until string (date-time) or null required
  • signed_envelope OpenReceiptEnvelope required

Generated sample

{
  "chain_id": "string",
  "chain_seq": 0,
  "completed_at": "2026-01-01T00:00:00Z",
  "downstream_open": true,
  "dsar_request_id": "dsar_01j4x8m2a6b7c9d0e1f2g3h4j5",
  "erasure_scope": {},
  "incomplete_reasons": [
    "string"
  ],
  "jti": "string",
  "retain_until": "2026-01-01T00:00:00Z",
  "signed_envelope": {
    "alg": "ecdsa-p256-sha256",
    "chain": {
      "chain_id": "string",
      "prev_hash": "string",
      "seq": 0
    },
    "claims": {
      "egress_attestation": {
        "attester": "desktop",
        "attester_build_hash": "string",
        "zero_payload_proof": {}
      },
      "routing_decision": {
        "model": "string",
        "provider_id": "string",
        "provider_region": "string",
        "reason": "user-selected"
      },
      "tokenisation": {
        "detectors": [
          {
            "count": 0,
            "fingerprint_hmac": "string",
            "id": "string",
            "version": "string"
          }
        ],
        "input_hash": "string",
        "level": "tokenise-reversible",
        "output_hash": "string",
        "tokeniser_binary_hash": "string"
      },
      "x-cloakapi-detection": {
        "basis": "client_declared",
        "coverage": "rules_only",
        "engine_identity": "not_declared"
      }
    },
    "exp": 0,
    "iat": 0,
    "iss": "https://example.com",
    "jti": "string",
    "kid": "string",
    "nbf": 0,
    "sig": "string",
    "sub": "string",
    "v": "v1"
  }
}
403 The DSAR email and verification token are invalid or expired.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

404 The referenced resource was not found.

application/json ReceiptsApiError

  • error object required
    • code string required
      Example: "not_found"
    • message string required
      Example: "The requested receipt was not found."
422 The email or verification token is missing or invalid.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

429 The route throttle limit was exceeded.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string

500 The stored signed envelope could not be decoded.

application/json object

  • error object required
    • code string required
      Value: "receipt_corrupt"
    • message string required