>unstuck engine

Help / 04 · Destinations & API

> Using the Enrichment API

A standalone reference for the Enrichment API. POST identity, get back enriched contact channels. Same engine as the in-app `Enrich` button.

2 min readNever reviewed

TL;DR: POST identity hints, get back enriched fields. Same waterfall, same credit model, programmatic. Most usage looks like { email: "..." } → { phone, social_handles, work_email, company }.

Endpoint

POST /enrichment
Headers:
Authorization: Bearer <UNSTUCK_API_KEY>
Content-Type: application/json

Body:
{
"email": "person@company.com",
"linkedin_url": "https://linkedin.com/in/...",
"company_domain": "company.com",
"channels": ["work_email", "personal_email", "phone", "social_handles"]
}

At least one identity hint required. channels is optional — defaults to all four contact channels.

Identity-only mode

Sometimes you have a name + company and want to discover an email:

POST /enrichment/discover
Body:
{
"first_name": "Chloe",
"last_name": "Walker",
"company_domain": "westmarkrobotics.com"
}

Returns the same response shape. Discovery is slower (the waterfall has to find the contact, not just confirm it) and costs the same per delivered field.

Response

{
"record_id": "lead_abc123",
"channels": {
"work_email": {
"value": "chloe.walker@westmarkrobotics.com",
"source": "Provider A",
"confidence": 0.94,
"enriched_at": "2026-05-26T14:30:00Z"
},
"phone": null,
"social_handles": {
"value": "https://linkedin.com/in/chloewalker",
"source": "Provider C",
"confidence": 0.88,
"enriched_at": "2026-05-26T14:30:00Z"
}
},
"credits_used": 3
}

This request sends identity hints only, so it enriches an external list: the work email costs 1 credit and the social handle 2. Send a lead id instead and the work email is included, and the lead becomes active (1 credit, unless it is already active this billing period).

null channels mean the waterfall ran but no provider returned a usable value. Per-channel metadata includes source, confidence, and timestamp.

Bulk enrichment

For higher-volume work:

POST /enrichment/bulk
Body:
{
"records": [
{ "email": "..." },
{ "linkedin_url": "..." },
...
],
"channels": ["work_email"]
}

Up to 100 records per request. Returns an array of per-record results. Credit cost is the sum of the delivered fields' prices: on your leads a work email is included, a personal email costs 5 credits, a mobile number 10 and a social handle 2; for an external list (no lead is created), a work email costs 1 credit. A request by lead id also makes each lead active (1 credit, unless it is already active this billing period).

Idempotency

The single-record endpoint is idempotent on (identity, channels). Re-requesting the same record + channels returns cached values and charges no field again. A request by lead id still makes the lead active (1 credit, unless it is already active this billing period). Pass force: true to bypass the cache.