---
title: "Create Lead Docket Mapping"
method: POST
path: "/lead-docket/mappings"
tags: ["Lead Docket"]
---

# Create Lead Docket Mapping

`POST /lead-docket/mappings`

## 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/mappings`
- Auth: none declared

## Request body

- LeadDocketFieldMappingCreate
  - `ld_field_name` string, required
  - `source_type` 'lead_field' | 'constant' | 'questionnaire_field', required
  - `source_key` string
  - `constant_value` string, nullable
  - `display_order` integer

## Response `200`

Successful Response

- LeadDocketFieldMappingItem
  - `lead_docket_field_mapping_id` string, uuid, required
  - `ld_field_name` string, required
  - `source_type` 'lead_field' | 'constant' | 'questionnaire_field', required
  - `source_key` string, required
  - `constant_value` string, nullable
  - `display_order` integer, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-16** `b9fb57688def`: 1 warning, 1 info
  - added the new `questionnaire_field` enum value to the `source_type` response property for the response status `200`
  - added the new `questionnaire_field` enum value to the request property `source_type`

[Operation history](https://skmtc.dev/openintake/apis/openintake-api/changes/lead-docket/mappings/post.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)
