Enrich a specific field on a lead or contact using AI
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 IDobject_type(required): Either “lead” or “contact”object_id(required): The ID of the lead or contact to enrichfield_id(required): The ID of the custom field to enrichset_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_id
object_id
object_type
Allowed values:
organization_id
overwrite_existing_value
set_new_value
Response
Successful response
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error