Enrichment
Bulk Enrichment
Trigger bulk enrichment of phone numbers or email addresses for multiple leads based on a selection
POST
This endpoint triggers bulk contact enrichment for multiple leads at once. It supports both manual selection (explicit IDs) and bulk selection (intent-based selection with filters). The endpoint validates credit availability before processing and handles enrichment in batches.
Credit Consumption
This endpoint consumes credits based on the number of leads being enriched.
The system validates that sufficient credits are available before starting
any enrichment operations. If credits are insufficient, the entire operation
fails without consuming any credits.
- Email enrichment: Consumes credits per lead
- Phone enrichment: Consumes credits per lead
Request
Body Parameters
The selection payload specifying which leads to enrich.
The type of contact information to enrich. Allowed values:
phones,
emailsResponse
Returns an array of enrichment objects representing both newly created and existing enrichment tasks.Array of enrichment objects.
Selection Modes
Manual Mode
Usemanual mode when you have specific lead IDs to enrich:
Bulk Mode
Usebulk mode to enrich a range of leads from search results. This requires filters to reproduce the search:
Error Codes
| Status Code | Error Code | Description |
|---|---|---|
400 | VALIDATION_ERROR | Invalid request body, missing required fields, or invalid field values |
401 | UNAUTHORIZED | Missing or invalid authentication |
402 | INSUFFICIENT_CREDITS | Not enough credits to complete the bulk enrichment |
500 | INTERNAL_ERROR | Server error during enrichment processing |
Notes
- Batching: The system processes enrichments in batches to avoid overwhelming enrichment providers
- Deduplication: If an enrichment already exists for a lead/field combination, the existing enrichment is returned instead of creating a duplicate
- Credit Pre-validation: Credits are validated before any processing begins; if insufficient, the operation fails atomically
- Maximum Selection: Bulk mode is limited to 1000 leads per request
- Filters Required: When using
bulkmode, thefiltersfield is required to resolve the selection