Skip to navigation

Enrich a specific field on a lead or contact using AI

View as Markdown

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)

Authentication

AuthorizationBasic
Use your API key as the username and leave the password empty.
OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
field_idstringRequired
object_idstringRequired
object_typeenumRequired
Allowed values:
organization_idstringRequired
overwrite_existing_valuebooleanOptionalDefaults to false
set_new_valuebooleanOptionalDefaults to true

Response

Successful response

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error