---
title: "Update Realtime Lead Scoring Settings"
method: PATCH
path: "/developer/realtime-lead-scoring-settings"
tags: ["Developer", "Developer - Settings"]
---

# Update Realtime Lead Scoring Settings

`PATCH /developer/realtime-lead-scoring-settings`

Update the realtime lead scoring settings for the current customer.

Validates that every entry in `agent_visible_fields` exists as a key in the customer's
`SettingsLeads.lead_scoring_custom_schema["properties"]`. Requires the customer's lead
scoring mode to be `custom_prompt` and a custom schema to be configured.

## Request body

- UpdateRealtimeLeadScoringSettingsRequest — Update realtime lead scoring settings request model (developer only)
  - `agent_visible_fields` string[], nullable — Allowlist of property keys from lead_scoring_custom_schema that are exposed to the voice agent

## Response `200`

Successful Response

- RealtimeLeadScoringSettingsResponse — Realtime (live, mid-call) lead scoring settings response model
  - `agent_visible_fields` string[] — Allowlist of property keys from lead_scoring_custom_schema that are exposed to the voice agent

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/openintake/apis/fastapi.md) · [All operations](https://skmtc.dev/openintake/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openintake/fastapi/revisions/4a81645b59f6/schema)
