---
title: "Enrich a specific field on a lead or contact using AI"
method: POST
path: "/enrich_field/"
tags: ["field_enrichment"]
---

# Enrich a specific field on a lead or contact using AI

`POST /enrich_field/`

This endpoint uses AI to enrich (populate or enhance) a specific field on a lead or contact. The enrichment process analyzes existing data and external sources to provide intelligent field values.

**Parameters:**
- `organization_id` (required): The organization ID
- `object_type` (required): Either "lead" or "contact"
- `object_id` (required): The ID of the lead or contact to enrich
- `field_id` (required): The ID of the custom field to enrich
- `set_new_value` (optional): Whether to update the field with the enriched value (default: true)
- `overwrite_existing_value` (optional): Whether to overwrite existing field values (default: false)

## Request body

- RunFieldEnrichment
  - `field_id` string, required
  - `object_id` string, required
  - `object_type` 'lead' | 'contact', required
  - `organization_id` string, required
  - `overwrite_existing_value` boolean
  - `set_new_value` boolean

## Response `200`

Successful response

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found

---

[API](https://skmtc.net/close/apis/close-api.md) · [All operations](https://skmtc.net/close/apis/close-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/close/close-api/revisions/0dcf3303e9d7/schema)
