Execute Enrichment by External ID
API Reference
Execute Enrichment by External ID
Execute marketplace enrichment integrations on an entity using your own external identifier โ using gu1 marketplace providers for KYC, KYB, and PEP data.
POST
Execute Enrichment by External ID
Overview
Executes one or more marketplace enrichment integrations on a specific entity using your own external identifier. This endpoint first looks up the entity by your externalId, then executes the enrichments. It is identical to the by ID endpoint but more convenient when you use your own entity identifiers. Note:enrichmentGroupRefs applies only to this marketplace execution API (and POST .../marketplace/enrichment by entity UUID). Automatic or manual entity creation still uses explicit enrichment codes only, not group slugs.
Endpoint
Authentication
Requires a valid API key in the Authorization header:Request Body
Your external identifier for the entity (e.g., your customer ID, user ID, etc.)
Explicit list of enrichment integration codes to run (same semantics as before). See Integration Provider Codes.Send
integrationCodes only, enrichmentGroupRefs only, or both. If both are sent, the API expands groups to codes, appends integrationCodes, and deduplicates while keeping first-seen order. At least one of integrationCodes or enrichmentGroupRefs must be non-empty.References to enrichment groups your organization configured in the Marketplace UI. Each value is a group slug or group UUID. The server replaces each ref with that groupโs stored integration codes (in order), then merges any
integrationCodes. Each code is still subject to the same orchestrator rules as a direct request (catalog type, org enablement, blocks, etc.).Optional additional parameters to pass to the integrations
Response
Whether the batch enrichment operation completed successfully
The resolved internal UUID of the enriched entity
The external ID that was used to look up the entity
Array of enrichment results, one for each integration codeEach result contains:
success(boolean) - Whether this specific enrichment succeededenrichmentId(string) - UUID of the enrichment execution recordintegrationCode(string) - The integration code that was executedintegrationName(string) - Human-readable name of the integrationresult(object) - Enrichment data (only if successful)fieldsEnriched(array) - List of entity fields that were enricheddataQuality(object) - Quality metricscompleteness(number) - Data completeness score (0-1)confidence(number) - Confidence score (0-1)
summary(string) - Human-readable summaryenrichmentData(object) - The actual enrichment data
executionTime(number) - Execution time in millisecondscostCents(number) - Cost of this enrichment in centserror(object) - Error details (only if failed)code(string) - Error codemessage(string) - Error message
Total cost of all enrichments in cents
Total execution time for all enrichments in milliseconds
Examples
Execute Single Enrichment
Execute Multiple Enrichments (Batch)
Response Example - Successful Enrichment
Response Example - Batch with Mixed Results
Error Responses
404 Entity Not Found
401 Unauthorized
400 Bad Request
Use Cases
KYC Data Enrichment
Enrich a person entity with official government data:Company Due Diligence
Gather comprehensive company data from multiple sources:Important Notes
- Batch Execution: Multiple enrichments are executed in parallel for better performance
- Cost Tracking: Each enrichmentโs cost is tracked individually and summed in
totalCostCents - Partial Success: The batch can succeed even if some individual enrichments fail
- Automatic Audit: All enrichments are automatically logged in the audit trail
- Rules Trigger: Successful enrichments trigger the rules engine with
enrichment_completedevent - Idempotency: Running the same enrichment multiple times may return cached results unless
forceRefreshis used
Related Endpoints
- Execute Enrichment by External ID - Use your own entity identifier
- Get Entity - View enriched entity data
- List Integration Providers - Available enrichment codes