---
title: "Update Lead Classification Enabled"
method: PATCH
path: "/developer/lead-classification-enabled"
tags: ["Developer", "Developer - Settings"]
---

# Update Lead Classification Enabled

`PATCH /developer/lead-classification-enabled`

## Request

- Base URL: `https://api.openintake.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openintake.ai/developer/lead-classification-enabled`
- Auth: none declared

Update the lead classification setting for the current customer.

This endpoint is restricted to developer users only.

- **lead_classification_enabled**: Set to true to enable lead classification

When enabled:
- Post-processing pipeline analyzes transcripts to classify leads
- Extracts contact info, determines qualification state
- Matches leads to specific cases (lawsuits) if applicable
- Creates Lead records for nightly notification scripts

## Request body

- UpdateLeadClassificationEnabledRequest: Request to update customer's lead classification setting
  - `lead_classification_enabled` boolean, required: Set to true to enable lead classification in post-processing

## Response `200`

Successful Response

- LeadClassificationEnabledResponse: Response with customer's lead classification setting
  - `customer_id` string, uuid, required: The customer ID
  - `lead_classification_enabled` boolean, required: Whether lead classification is enabled for this customer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/openintake/apis/openintake-api.md) - [All operations](https://skmtc.dev/openintake/apis/openintake-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openintake/apis/openintake-api/revisions/de90a8dcbc07?raw)
