---
title: "Restore removed content after staff review"
method: POST
path: "/api/admin/content/restore"
---

# Restore removed content after staff review

`POST /api/admin/content/restore`

## Request

- Base URL: `https://www.toma.com`
- URL: `https://www.toma.com/api/admin/content/restore`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `better-auth.session_token`

Human review overrides the earlier removal. Requires an audited reason; does not reopen tasks or change work/payment states. Deleted comments cannot be restored.

## Request body

- object
  - `targetType` 'task' | 'comment', required
  - `targetId` string, required
  - `note` string, required

## Response `200`

Restored.

- object
  - `restored` true, required

## Other responses

- `400`: Invalid restoration.
- `401`: Sign in first.
- `403`: Not Toma staff.
- `409`: Content not hidden or changed during review.
- `413`: The request body exceeds 2097152 bytes.

---

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