Skip to content
Sign in Create account

Download completed data export

POST /api/gdpr/export-download/{request_id}

Returns a completed export after matching the request ID, email, and verification token. Credentials are sent in the JSON request body so the token is not copied into the URL, access logs, or Referer. Depending on storage configuration it streams JSON (or requested HTML) or redirects to a temporary storage URL. Missing/not-ready files return 404 and expired exports return 410; the route is limited to ten requests per minute.

This operation needs no authentication.

Parameters

  • request_id string path required
  • format string query

    Only the exact value html selects the HTML response; other values use JSON.

    Default: "json"

Request body

Credentials are sent in the request body so the verification token is not copied into the URL, access logs, or Referer.

application/json object

  • email string (email) required
  • verification_token string required
    Length: 8 to 256 characters

Generated sample

{
  "email": "user@example.com",
  "verification_token": "string"
}

Responses

200 Local-storage export. JSON is the default; format=html returns an HTML view.

application/json object

text/html string

302 Redirect to a temporary storage URL.

Response headers

  • Location string (uri) header
404 Export is not available or credentials do not match.

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.

410 Export link has 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.

422 Email or verification token failed validation.

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 export-download throttle 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