Submit a GDPR data export (right-of-access) request
POST /api/gdpr/export-request
Creates a pending data export request for the required email address (valid email, up to 254 characters). The API returns 202 whether or not an account is linked; when one is linked, it emails a verification token, and the export is prepared only after confirmation. Invalid input returns 422; more than 10 requests per minute returns 429.
This operation needs no authentication.
Request body
application/json object
emailstring (email) required
Generated sample
{
"email": "user@example.com"
}Responses
202 Export request accepted
422 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
429 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string