# POST /apps/:app_id/restore

**Resource:** [Apps](./apps.md)  
**MCP tool:** `restore_app`  
**Scopes:** `apps:write`  
**Write operation:** yes

Bring back an archived app with its data, at any time. It comes back unpublished, so its admin checks it and publishes it again. An app deleted with delete_app is gone for good and cannot be restored. A personal app comes back ready to use for its maker. Workspace admins, or the maker of a personal app.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `app_id` | path | string | yes | The app's id. |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/apps/:app_id/restore"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"require_approval":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`