Close Field Enrichment API

The field_enrichment API from Close — 1 operation(s) for field_enrichment.

Operations 1

POST /enrich_field/ Enrich a specific field on a lead or contact using AI #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/close-field-enrichment-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

close-field-enrichment-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Close CRM REST API
  title: Close Field Enrichment API
  version: 1.0.0
servers:
- url: https://api.close.com/api/v1
security:
- ApiKeyAuth: []
- OAuth2: []
tags:
- name: field_enrichment
  externalDocs:
    url: https://developer.close.com/api/resources/field-enrichment
paths:
  /enrich_field/:
    post:
      operationId: field_enrichment_create
      tags:
      - field_enrichment
      summary: Enrich a specific field on a lead or contact using AI
      description: '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)'
      requestBody:
        content:
          application/json:
            example:
              field_id: cf_N6KhMpzHRCYQHdn4gRNIFNN5JExnsrprKA6ekxM63XA
              object_id: lead_s6vHFTK1TSRoH6otXOexWDO9jM4xyb1kELHDoU7Fdsp
              object_type: lead
              organization_id: orga_RbREgmiiwcr1w2b4cOnCMQaQPSIFxMqAD2Dh243uxcH
              overwrite_existing_value: false
              set_new_value: true
            schema:
              $ref: '#/components/schemas/RunFieldEnrichment'
        required: true
      responses:
        '200':
          content:
            application/json:
              example:
                confidence: high
                field_id: cf_N6KhMpzHRCYQHdn4gRNIFNN5JExnsrprKA6ekxM63XA
                object_id: lead_s6vHFTK1TSRoH6otXOexWDO9jM4xyb1kELHDoU7Fdsp
                object_type: lead
                organization_id: orga_RbREgmiiwcr1w2b4cOnCMQaQPSIFxMqAD2Dh243uxcH
                reasoning: Based on the company's website content and existing lead information, this appears to be a software development company specializing in CRM solutions.
                value: Software Development
          description: Successful response
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
components:
  schemas:
    RunFieldEnrichment:
      title: RunFieldEnrichment
      type: object
      properties:
        field_id:
          title: Field ID
          type: string
        object_id:
          title: Object ID
          type: string
        object_type:
          title: Object Type
          type: string
          enum:
          - lead
          - contact
        organization_id:
          title: Organization ID
          type: string
        overwrite_existing_value:
          title: Overwrite Existing Value
          type: boolean
          default: false
        set_new_value:
          title: Set New Value
          type: boolean
          default: true
      required:
      - field_id
      - object_id
      - object_type
      - organization_id
      additionalProperties: false
  securitySchemes:
    ApiKeyAuth:
      description: Use your API key as the username and leave the password empty.
      scheme: basic
      type: http
    OAuth2:
      flows:
        authorizationCode:
          authorizationUrl: https://app.close.com/oauth2/authorize/
          scopes:
            all.full_access: Full access to all resources
            offline_access: Request a refresh token
          tokenUrl: https://api.close.com/oauth2/token/
      type: oauth2