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

**Resource:** [FIELD_CHANGES](./field-changes.md)  
**MCP tool:** `fill_custom_fields_from_conversation`  
**Scopes:** `crm_audit:read`, `ai:use`, `transcripts:read`  
**Write operation:** yes

Fill the custom fields of one opportunity, contact or account from what was said on a call, a meeting or a voice agent call linked to it, now. Uses the newest conversation on the record unless transcript_id is given. Only fields in a custom field section that has "Fill from calls and meetings" switched on are written (switch it on with update_crm_settings: custom_field_sections.<deal|contact|account>[].auto_fill = { enabled: true, sources: ["team_call","meeting","voice_agent"], pipeline_ids: [] }). Blank fields are filled; a field the AI filled earlier can be added to or corrected; a field a person set is never changed, and anything different the conversation said is returned in held_back and written to a timeline note instead. Costs credits only when the AI reads the conversation (status "done"); a "skipped" result is free and says why. Also needs write access to that kind of record, and only reads a conversation the key's creator is allowed to open.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `record_type` | body | string | yes | opportunity, contact or account |
| `record_id` | body | string | yes | UUID of the record |
| `transcript_id` | body | string | no | A call or meeting transcript linked to the record. Leave out to use the newest one. |
| `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/fill"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"record_type":"...","record_id":"...","transcript_id":"..."}'
```

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