v4
latestOpenAPI 3.1.02026-08-03427198448.4 KBClient Enrichment
Enrich Client Enhanced
Enhanced client enrichment endpoint with unified flow.
This endpoint:
- Fetches org context (org_prompt, org_defaults) for the agent
- Runs the Client Enrichment Agent which:
- Enriches ALL contacts using Google context + LinkedIn
- Determines if client is individual or business
- Enriches client data accordingly
- Handles save behavior based on source:
- 'clientform': Returns data only (no auto-save)
- 'frontend'/'agent': Auto-saves to database
Modes:
- 'full': Overwrites all client fields with enriched data
- 'fill_empty': Only fills fields that are currently empty
post/api/enrich-client-enhanced
Query parameters
user_idstring
org_idstring
Request body
Response
Successful Response