---
title: "Restore Deleted Media"
method: POST
path: "/deleted_media/restore"
tags: ["Deleted Media"]
---

# Restore Deleted Media

`POST /deleted_media/restore`

## Request

- Base URL: `https://api.wistia.com/modern`
- URL: `https://api.wistia.com/modern/deleted_media/restore`
- Auth: HTTP bearer

Restores one or more soft-deleted media. By default each media returns to the
folder it was deleted from; pass folder_id to restore them into a specific
folder instead. Only media still inside the restore window can be recovered.
The restore runs asynchronously and the response includes a background job
status.


## Requires api token with one of the following permissions
```
Upload and view media
```

Tokens with the "Act with a team member's permissions" permission
(`all:delegate_to_contact_permissions` scope) can also be used. Requests
made with such a token are authorized using the permissions of the
contact assigned to the token.

An [expiring access token](https://docs.wistia.com/reference/post_expiring-token)
created with the `all:delegate_to_contact_permissions` scope and an
`account` authorization granting the `manage-deleted-media` permission can
also be used. Only the media the token's `media` authorizations name are
restored, and `folder_id` also requires the `upload` permission on that
folder.

## Headers

- `X-Wistia-API-Version` string, required

## Request body

- object
  - `media_hashed_ids` string[], required: The hashed ids of the soft-deleted media to restore. Up to 1000 at a time.
  - `folder_id` string: Optional hashed id of the folder to restore the media into. If omitted, each media returns to the folder it was deleted from.

## Response `202`

Restore request accepted and queued for processing.

- object
  - `message` string
  - `background_job_status` object
    - `id` integer
    - `hashed_id` string
    - `status` string

## Other responses

- `400`: Bad request
- `401`: Unauthorized, invalid or missing token
- `403`: Forbidden, token is valid but account does not have access to feature
- `500`: Internal server error

## Changes

- **2026-11-03** `b86cb2a7b420`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/wistia/apis/data-api/changes/deleted_media/restore/post.md)

---

[API](https://skmtc.dev/wistia/apis/data-api.md) - [All operations](https://skmtc.dev/wistia/apis/data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wistia/apis/data-api/revisions/b86cb2a7b420?raw)
