Creates a batch from exportIds and queues it; the batch re-runs the exports one at a time, waiting for each to finish. Ids that match no export are counted as invalid. Returns the batch id, the number of ids and the number invalid; follow progress with the batch route. Super admin only.
POST
/admin/case/rerun-exports
curl \
--request POST 'http://api.example.com/admin/case/rerun-exports' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"exportIds": [
"string"
]
}'
Request examples
{
"exportIds": [
"string"
]
}
Response examples (200)
{
"data": {
"batchId": "65a1b2c3d4e5f6a7b8c9d0f2",
"totalCount": 3,
"invalidCount": 0
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}