---
title: "Recover File Upload"
method: POST
path: "/recover/files/fileUpload/{id}"
tags: ["FileUpload"]
---

# Recover File Upload

`POST /recover/files/fileUpload/{id}`

Undeletes a File Upload

## Path parameters

- `id` string, required

## Response `200`

The recovered file upload

- FileUpload — FileUploads represent a single file uploaded for use in journeys
  - `id` string — Object id. Set by system.
  - `organization_id` string — The ID of the organization that this fileUpload belongs to
  - `last_updated_time` integer — time the fileUpload object was last updated
  - `last_updated_by_id` string — The ID of the user who last updated this fileUpload
  - `created_time` integer — time the fileUpload was created
  - `created_by_id` string — The ID of the user who created this fileUpload
  - `name` string — The display name of the fileUpload
  - `extension` string — extension of the file
  - `content_type` string — content-type of the file
  - `file_size` integer — The fileSize in bytes
  - `uri` string — the uri of the uploaded file object
  - `journeys` string[] — Array of journey IDs that this fileUpload is used in
  - `crc32c_hex` string — The CRC32C checksum for this file upload, encoded as a hex string

## Other responses

- `404` — File upload not found, non-recoverable
- `default` — Unknown error

---

[API](https://skmtc.net/mabl/apis/mabl-api.md) · [All operations](https://skmtc.net/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mabl/mabl-api/revisions/d0fc0114da66/schema)
