# PATCH /opportunities/lead-settings

**Resource:** [Opportunities](./opportunities.md)  
**MCP tool:** `update_lead_settings`  
**Scopes:** `company:write`  
**Write operation:** yes

Change the workspace lead settings. Send only what changes. new_lead_ends_on decides what takes a lead off New Leads: any of "call" (someone on the team speaks to them on the phone, 30 seconds or more), "meeting" (a meeting is booked or logged), "reply" (they reply or ring in); [] keeps leads on New Leads until won, lost or archived. new_lead_pipeline_ids and new_lead_stage_ids choose which workflows and stages New Leads shows (empty = all; a workflow with none of its stages listed shows every stage). For the Leads board: moved_on_label renames the Moved on card ("" for the default), dropped_pipeline_ids and dropped_stage_ids choose what counts as Dropped (lost leads always do).

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `enabled` | body | boolean | no | Research and score every new lead automatically. |
| `research_web` | body | boolean | no | Look the lead up on the internet (their business, website, reviews). Off: score only from what the lead told us. |
| `private_people` | body | boolean | no | Also research leads who are private people, not businesses. |
| `auto_pipeline_ids` | body | array | no | Workflow (pipeline) IDs whose new opportunities are researched automatically. Empty means every workflow. Full replace. |
| `monthly_credit_cap` | body | number | no | Most credits lead research may use in a calendar month. Research stops for the month once it is reached. |
| `new_lead_ends_on` | body | array | no | What takes a lead off New Leads, any of: "call" (someone on the team speaks to them on the phone: a call of 30 seconds or more, or a call logged by hand; unanswered calls, short voicemails and AI agent calls do not count), "meeting" (a meeting is booked or logged with them), "reply" (they reply or ring in). Default ["call"]. Send [] to keep every lead on New Leads until it is won, lost or archived. Full replace. |
| `new_lead_pipeline_ids` | body | array | no | Workflow (pipeline) IDs whose leads show on New Leads. Empty means every workflow. Full replace. |
| `new_lead_stage_ids` | body | array | no | Stage IDs that narrow New Leads inside a workflow. A workflow with none of its stages listed shows leads in every stage; once one of its stages is listed, only the listed stages of that workflow show. Empty means every stage. Full replace. |
| `moved_on_label` | body | string | no | The Leads board's name for leads that moved past the warm stages, e.g. "Hot" or "Booked" (at most 30 characters). Send "" for the default "Moved on". |
| `dropped_pipeline_ids` | body | array | no | Workflow (pipeline) IDs whose leads count as Dropped on the Leads board, e.g. a "Closed" or "On Ice" workflow. Lost leads and stages marked lost always count. Full replace. |
| `dropped_stage_ids` | body | array | no | Stage IDs whose leads count as Dropped on the Leads board, e.g. "Not Interested" or "Long Nurture". Full replace. |
| `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 PATCH   "https://api.trustpager.com/functions/v1/api/v1/opportunities/lead-settings"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"enabled":"...","research_web":"...","private_people":"..."}'
```

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