---
title: "Update Lead Docket Config"
method: PUT
path: "/lead-docket/config"
tags: ["Lead Docket"]
---

# Update Lead Docket Config

`PUT /lead-docket/config`

## 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/lead-docket/config`
- Auth: none declared

Upsert the Lead Docket configuration for this customer.

## Request body

- LeadDocketConfigUpdate
  - `intake_complete_email_enabled` boolean, nullable: Email the intake inbox when an AI follow-up meets the configured completion profile for a Chase lead; does not change its status
  - `intake_complete_email_recipients` string[], nullable: Intake inbox recipients; an empty list uses the configured text reply recipients
  - `intake_completion_profiles` LeadDocketCompletionProfile[], nullable: Per-intake completion fields; dependency selectors are included automatically. Unconfigured types never trigger completion emails.
    - `case_type_id` integer, required
    - `form_id` integer, required
    - `field_ids` integer[], required
  - `questionnaire_requests_enabled` boolean, nullable: Enable local recipient questionnaires; does not send links or enable CRM access
  - `questionnaire_fill_enabled` boolean, nullable: Fill a local questionnaire draft from the transcript and cached forms; does not enable CRM access
  - `endpoint_url` string, nullable: Lead Docket Definitions endpoint URL
  - `dry_run` boolean, nullable: Whether pushes require manual approval
  - `timeout_seconds` integer, nullable: Per-request timeout in seconds
  - `opportunity_sync_enabled` boolean, nullable
  - `opportunity_note_field` string, nullable: Source form field mapped to opportunity Notes or Summary; carries the delivery receipt

## Response `200`

Successful Response

- LeadDocketStatusResponse
  - `feature_enabled` boolean, required: Whether lead_docket_enabled is on for this customer
  - `endpoint_url_set` boolean, required: Whether an endpoint URL has been configured
  - `endpoint_url_masked` string, nullable: Stored endpoint URL with query parameter values dotted out for safe display
  - `connected` boolean, required: True when feature is enabled, endpoint is set, and dry_run is off
  - `dry_run` boolean, required: Whether pushes require manual approval
  - `timeout_seconds` integer, required: Per-request timeout in seconds
  - `mapping_count` integer, required: Number of configured field mappings
  - `opportunity_sync_enabled` boolean
  - `opportunity_note_field` string, nullable
  - `questionnaire_fill_enabled` boolean
  - `questionnaire_requests_enabled` boolean
  - `intake_complete_email_enabled` boolean
  - `intake_complete_email_recipients` string[]
  - `intake_completion_profiles` LeadDocketCompletionProfile[]
    - `case_type_id` integer, required
    - `form_id` integer, required
    - `field_ids` integer[], required
  - `intake_completion_forms` LeadDocketCompletionForm[]
    - `case_type_id` integer, required
    - `case_type_name` string, required
    - `form_id` integer, required
    - `fields` LeadDocketCompletionField[], required
      - `field_id` integer, required
      - `name` string, required
      - `depends_on_field_id` integer, nullable
  - `intake_completion_suggestions` LeadDocketCompletionProfile[]
    - `case_type_id` integer, required
    - `form_id` integer, required
    - `field_ids` integer[], required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-14** `5d668a9fc9dd`: 8 info
  - added the new optional request property `intake_complete_email_enabled`
  - added the new optional request property `intake_complete_email_recipients`
  - added the new optional request property `intake_completion_profiles`
  - added the optional property `intake_complete_email_enabled` to the response with the `200` status
  - …4 more
- **2026-09-20** `28867c1dbb52`: 2 info
  - added the new optional request property `questionnaire_requests_enabled`
  - added the optional property `questionnaire_requests_enabled` to the response with the `200` status
- **2026-09-16** `b9fb57688def`: 2 info
  - added the new optional request property `questionnaire_fill_enabled`
  - added the optional property `questionnaire_fill_enabled` to the response with the `200` status
- **2026-09-14** `2a47b07c930e`: 4 info
  - added the new optional request property `opportunity_note_field`
  - added the new optional request property `opportunity_sync_enabled`
  - added the optional property `opportunity_note_field` to the response with the `200` status
  - added the optional property `opportunity_sync_enabled` to the response with the `200` status

[Operation history](https://skmtc.dev/openintake/apis/openintake-api/changes/lead-docket/config/put.md)

---

[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)
