# POST /agent/v1/voice/record-feedback

**Resource:** [Voice Agent Toolkit](./agent-toolkit-voice.md)  
**MCP tool:** `voice_toolkit_record_feedback`  
**Scopes:** `agent_toolkit:use`  
**Write operation:** yes

Voice agent toolkit: save the feedback of the customer on the call. Unhappy feedback (negative, or a rating at or below the workspace setting) is sent to the team as a high-priority task and email. Saves once per call.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `summary` | body | string | yes | What the customer thinks, in one plain sentence. |
| `details` | body | string | no | What they said, as close to their own words as you can. |
| `rating` | body | number | no | The rating out of 5 they gave, if they gave one. |
| `sentiment` | body | string | no | positive if they are happy, mixed if mostly fine with a gripe, negative if they are unhappy or describe a real problem. |
| `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/agent/v1/voice/record-feedback"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"summary":"...","details":"...","rating":"..."}'
```

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