---
title: "Request data export"
method: POST
path: "/api/user/data-export"
tags: ["User"]
---

# Request data export

`POST /api/user/data-export`

## Request

- Base URL: `https://app.d-sports.org`
- URL: `https://app.d-sports.org/api/user/data-export`
- Auth: HTTP bearer

Creates a zip data-export request for the caller (format zip, status REQUESTED). An open REQUESTED or PROCESSING row is returned with 200 and is not duplicated. After a terminal row, a second request inside 24 hours is 429 RATE_LIMITED. The body does not accept email. Optional metadata.reason is a string up to 500 characters. The archive is built by GET /api/cron/data-export.

## Response `200`

{ success, data } existing open REQUESTED or PROCESSING row

## Other responses

- `201`: { success, data } newly created request
- `400`: Validation error (email is not accepted, or reason is invalid)
- `401`: Authentication required
- `429`: { success: false, error, code: RATE_LIMITED } with Retry-After
- `503`: { success: false, error, code: RATE_LIMITER_UNAVAILABLE }

## Changes

- **2026-11-18** `6de639c52609`: 3 info
  - added the non-success response with the status `429`
  - added the non-success response with the status `503`
  - added the success response with the status `201`
- **2026-09-12** `c191eafc1801`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/changes/api/user/data-export/post.md)

---

[API](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api.md) - [All operations](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/llms.txt) - [OpenAPI document](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/revisions/63735cf90a04?raw)
