# POST /field-changes/custom-fields/restore

**Resource:** [FIELD_CHANGES](./field-changes.md)  
**MCP tool:** `restore_custom_field_value`  
**Scopes:** `crm_audit:read`  
**Write operation:** yes

Put one earlier value of a custom field back on an opportunity, contact or account. Pass the id of the history entry to restore, from list_custom_field_history. Only that one field changes, and the restore itself becomes a new history entry. Also needs write access to that kind of record (opportunities:write, contacts:write or companies:write). A Sensitive field cannot be restored because its earlier values are not kept.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `record_type` | body | string | yes | opportunity, contact or account |
| `record_id` | body | string | yes | UUID of the record |
| `history_id` | body | string | yes | UUID of the history entry whose value to put back. |
| `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/field-changes/custom-fields/restore"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"record_type":"...","record_id":"...","history_id":"..."}'
```

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