Endpoint overview
| Endpoint | Method | What it does |
|---|---|---|
/api/enrichments | POST | Enrich one or more contacts with email and phone |
/api/enrichments/:id | GET | Poll the status of an async enrichment job |
Enrichment request
Input modes
You can enrich a single person immediately or submit a batch. Use exactly one ofidentifier or identifiers.
- Single contact
- Batch
Pass one
identifier object with one of the supported identity fields.Request fields
| Field | Type | Default | Description |
|---|---|---|---|
identifier | PersonIdentifier | — | Single contact to enrich. Use this or identifiers, not both. |
identifiers | PersonIdentifier[] | — | Batch of up to 100 contacts. Use this or identifier, not both. |
fields | string[] | — | Required enrichment fields, such as contact.email, contact.phone, and signals. |
signals_config | object | — | Optional signal collection settings when fields includes signals. |
PersonIdentifier fields
Each identifier object should include one of these fields:| Field | Type | Example |
|---|---|---|
linkedin_url | string | https://www.linkedin.com/in/jordan-rivera |
email | string | jordan@example.com |
x_handle | string | jordan_sales |
github_username | string | jordanrivera |
Examples
Responses
Sync enrichment (HTTP 200)
Single LinkedIn contact requests that only ask forcontact.email and/or contact.phone can complete synchronously.
Async completed result
When a batch enrichment succeeds, the poll response contains item-level statuses.Async accepted (HTTP 202)
Batch requests and signal requests return a job reference immediately.GET /api/enrichments/:id until status is "succeeded". The enriched records are in result.
Enrichment result fields
| Field | Type | Description |
|---|---|---|
data.contact.email | array | Verified email addresses when contact.email was requested |
data.contact.phone | array | Verified phone numbers when contact.phone was requested |
data.signals | object | Signal output when signals was requested |
items[].identifier | object | Original identifier for a batch item |
items[].status | string | "success" or "failed" for a batch item |
items[].data | object | Enrichment data for a successful batch item |
items[].error | object | Safe error message for a failed batch item |